Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_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.001492/0.001492, allocations: 112 kB / 16.42 MB, free: 6.5 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.001788/0.001788, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.411/1.411, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.662/2.662, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 71.89 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.01, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003221/1.014, allocations: 1.488 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003894/1.014, allocations: 115.7 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.608e-05/1.014, allocations: 0 / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.103e-05/1.014, allocations: 3.938 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/1.014, allocations: 3.938 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/1.014, allocations: 31.91 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.54e-05/1.015, allocations: 39.92 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/1.015, allocations: 7.984 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.819e-05/1.015, allocations: 27.91 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/1.015, allocations: 15.92 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/1.015, allocations: 4 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.147e-05/1.015, allocations: 23.92 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/1.015, allocations: 15.92 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/1.015, allocations: 23.86 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/1.015, allocations: 59.8 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.015, allocations: 8 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/1.015, allocations: 3.938 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.791e-06/1.015, allocations: 0 / 1.21 GB, free: 11.74 MB / 0.9356 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.0005837/1.016, allocations: 377 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.016, allocations: 8.031 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/1.016, allocations: 8.844 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/1.016, allocations: 172.2 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/1.016, allocations: 4.359 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/1.016, allocations: 4.375 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/1.016, allocations: 78.2 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.016, allocations: 192 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/1.016, allocations: 7.875 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/1.016, allocations: 0 / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/1.017, allocations: 79.92 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/1.017, allocations: 277 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/1.017, allocations: 66.47 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/1.018, allocations: 40.92 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000271/1.018, allocations: 120.9 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/1.018, allocations: 38.5 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.784e-06/1.018, allocations: 0 / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005431/1.018, allocations: 145.6 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/1.018, allocations: 51.41 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/1.019, allocations: 125.8 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/1.019, allocations: 25.7 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/1.019, allocations: 96.03 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/1.019, allocations: 7.906 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/1.019, allocations: 13.72 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.019, allocations: 322.8 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/1.019, allocations: 35.97 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/1.019, allocations: 39.89 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/1.019, allocations: 80.78 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.019, allocations: 0 / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003093/1.02, allocations: 117.5 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.02, allocations: 4 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.02, allocations: 0 / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.02, allocations: 0 / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/1.02, allocations: 19.98 kB / 1.213 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.02, allocations: 0 / 1.213 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.789e-05/1.02, allocations: 15.92 kB / 1.213 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/1.02, allocations: 0 / 1.213 GB, free: 9.168 MB / 0.9356 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 0.0001091/1.02, allocations: 125.7 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/1.02, allocations: 4 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/1.021, allocations: 117.8 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.021, allocations: 7.922 kB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.021, allocations: 4.047 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/1.021, allocations: 85 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/1.021, allocations: 4 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/1.021, allocations: 11.98 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/1.021, allocations: 11.92 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003825/1.021, allocations: 196.8 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003799/1.022, allocations: 282.7 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001397/1.022, allocations: 39.95 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.022e-05/1.022, allocations: 102.5 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of Backend: time 1.984e-06/1.022, allocations: 0 / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005405/1.022, allocations: 136.5 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005187/1.023, allocations: 0.5922 MB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of Templates: time 0.003659/1.027, allocations: 1.026 MB / 1.215 GB, free: 6.332 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches