Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006812/0.006812, allocations: 101.3 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 196.3 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.444/2.444, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9332/0.9344, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002447/0.9369, allocations: 1.485 MB / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002936/0.9372, allocations: 103 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.9373, allocations: 4 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.102e-05/0.9373, allocations: 7.938 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.94e-05/0.9374, allocations: 7.922 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.9376, allocations: 19.97 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.583e-05/0.9377, allocations: 47.84 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.9378, allocations: 8 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.9379, allocations: 15.92 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.9379, allocations: 31.84 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.9379, allocations: 8 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-05/0.938, allocations: 19.98 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.9381, allocations: 7.938 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.9381, allocations: 27.84 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.9382, allocations: 56.31 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.9382, allocations: 0 / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9383, allocations: 4 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.9383, allocations: 0 / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005038/0.9388, allocations: 383.1 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.9388, allocations: 12.62 kB / 1.169 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.9389, allocations: 8.891 kB / 1.169 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.939, allocations: 177.8 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.939, allocations: 384 / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.939, allocations: 4.359 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.9393, allocations: 74.22 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.9393, allocations: 192 / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.9393, allocations: 11.94 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.9393, allocations: 3.984 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.9396, allocations: 71.92 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.94, allocations: 284.9 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.9403, allocations: 70.47 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.9404, allocations: 44.91 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/0.9407, allocations: 105.1 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.9407, allocations: 38.56 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.9407, allocations: 3.938 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005634/0.9413, allocations: 149.5 kB / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.9413, allocations: 51.41 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.9414, allocations: 129.8 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.9414, allocations: 25.7 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.9415, allocations: 96.06 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.9415, allocations: 11.91 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.9416, allocations: 13.72 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.9417, allocations: 322.9 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.9418, allocations: 31.97 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.942, allocations: 39.95 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.9423, allocations: 80.78 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.9423, allocations: 3.938 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003225/0.9426, allocations: 117.5 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.9426, allocations: 4 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.9426, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.9426, allocations: 8 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.9428, allocations: 15.92 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.9428, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.9429, allocations: 11.98 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.9429, allocations: 4 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.955e-05/0.943, allocations: 121.8 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.943, allocations: 4 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003523/0.9433, allocations: 125.4 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.9434, allocations: 0 / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9434, allocations: 3.984 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.9434, allocations: 4 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.9435, allocations: 177.6 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.9436, allocations: 3.984 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.631e-05/0.9436, allocations: 15.98 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.9437, allocations: 0 / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.9437, allocations: 0 / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.9437, allocations: 0 / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9437, allocations: 384 / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.944, allocations: 215.4 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.9441, allocations: 85 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.9442, allocations: 7.938 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.9443, allocations: 11.98 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.9443, allocations: 3.984 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.9443, allocations: 8 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.09e-05/0.9444, allocations: 100.5 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9444, allocations: 0 / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002198/0.9446, allocations: 8 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.9448, allocations: 107.2 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003419/0.9451, allocations: 79.92 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9451, allocations: 0 / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.9453, allocations: 47.89 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.9455, allocations: 3.938 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.9459, allocations: 146.6 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.9461, allocations: 0.6885 MB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.9462, allocations: 4 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.9462, allocations: 11.44 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of SimCode: time 3.8e-07/0.9462, allocations: 0 / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.003034/0.9492, allocations: 0.8036 MB / 1.173 GB, free: 12.45 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches