Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01199/0.01199, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001943/0.001943, allocations: 189.1 kB / 16.67 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.553/1.553, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.94 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3421, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003299/0.3455, allocations: 1.48 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004375/0.346, allocations: 120.5 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.346, allocations: 0 / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.553e-05/0.3461, allocations: 0 / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.176e-05/0.3462, allocations: 11.88 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.3465, allocations: 19.97 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.3466, allocations: 51.78 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3467, allocations: 12 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/0.3468, allocations: 15.92 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.399e-05/0.3469, allocations: 27.91 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.3469, allocations: 4 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.282e-05/0.347, allocations: 19.98 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.347, allocations: 15.92 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.3471, allocations: 23.8 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.3472, allocations: 51.88 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3473, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3473, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3473, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 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.0005898/0.3479, allocations: 379.2 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3479, allocations: 11.97 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.348, allocations: 8.844 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3481, allocations: 176.2 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3481, allocations: 4.375 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3481, allocations: 384 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.3484, allocations: 78.2 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3484, allocations: 192 / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3484, allocations: 7.938 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3485, allocations: 4 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.3487, allocations: 67.92 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.3491, allocations: 292.9 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.3494, allocations: 70.41 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.3495, allocations: 40.92 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.3498, allocations: 109.1 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.3498, allocations: 34.55 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.3498, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005508/0.3504, allocations: 157.4 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.3505, allocations: 51.41 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3506, allocations: 129.8 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3506, allocations: 25.7 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.3507, allocations: 92.14 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.3507, allocations: 7.812 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.3507, allocations: 17.72 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3509, allocations: 318.8 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.351, allocations: 35.95 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.3512, allocations: 40.16 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.3514, allocations: 76.86 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.3514, allocations: 7.938 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002895/0.3517, allocations: 113.5 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3518, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3518, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3518, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3519, allocations: 15.98 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3519, allocations: 4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.352, allocations: 19.97 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.352, allocations: 3.938 kB / 1.092 GB, free: 13.01 MB / 0.8575 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.501e-05/0.3521, allocations: 117.7 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.3521, allocations: 7.906 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/0.3525, allocations: 121.5 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3525, allocations: 7.938 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3525, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3525, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.3527, allocations: 177.6 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3527, allocations: 4 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.502e-05/0.3528, allocations: 15.98 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3528, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3528, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3528, allocations: 4 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3528, allocations: 4 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.3532, allocations: 207.3 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.3533, allocations: 85.02 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3533, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.754e-05/0.3534, allocations: 15.98 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.3534, allocations: 7.984 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3535, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.654e-05/0.3535, allocations: 102.2 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3535, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002301/0.3538, allocations: 19.94 kB / 1.093 GB, free: 12.02 MB / 0.8575 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.0001578/0.3539, allocations: 99.77 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.3543, allocations: 83.92 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3543, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.3544, allocations: 43.95 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.3547, allocations: 7.938 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.355, allocations: 157.5 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.3553, allocations: 0.6846 MB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.967e-05/0.3554, allocations: 4.328 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.3554, allocations: 11.44 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.3554, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of Templates: time 0.003278/0.3587, allocations: 0.8012 MB / 1.095 GB, free: 10.09 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches