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.001588/0.001589, allocations: 113.9 kB / 16.42 MB, free: 6.441 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.001782/0.001782, allocations: 189.6 kB / 17.35 MB, free: 5.727 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 469.4 MB / 0.7428 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.89 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129/1.13, allocations: 159.1 MB / 1.221 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003052/1.133, allocations: 1.483 MB / 1.222 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003963/1.133, allocations: 119.7 kB / 1.222 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/1.133, allocations: 0 / 1.222 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.825e-05/1.134, allocations: 3.938 kB / 1.222 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.069e-05/1.134, allocations: 11.88 kB / 1.222 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/1.134, allocations: 23.97 kB / 1.222 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/1.134, allocations: 39.86 kB / 1.223 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/1.134, allocations: 15.97 kB / 1.223 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.075e-05/1.134, allocations: 19.92 kB / 1.223 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/1.134, allocations: 23.92 kB / 1.223 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/1.134, allocations: 4 kB / 1.223 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.096e-05/1.134, allocations: 19.98 kB / 1.223 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/1.134, allocations: 11.92 kB / 1.223 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/1.134, allocations: 27.86 kB / 1.223 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/1.135, allocations: 59.8 kB / 1.223 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.135, allocations: 0 / 1.223 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/1.135, allocations: 0 / 1.223 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.78e-06/1.135, allocations: 0 / 1.223 GB, free: 0.5156 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.0005499/1.135, allocations: 377 kB / 1.223 GB, free: 104 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.135, allocations: 8.031 kB / 1.223 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/1.135, allocations: 8.844 kB / 1.223 GB, free: 88 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/1.135, allocations: 176.2 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/1.135, allocations: 4.375 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/1.135, allocations: 384 / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/1.136, allocations: 82.14 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.136, allocations: 4.188 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/1.136, allocations: 3.938 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/1.136, allocations: 0 / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/1.136, allocations: 71.92 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/1.136, allocations: 288.8 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/1.137, allocations: 78.41 kB / 1.224 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/1.137, allocations: 40.91 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/1.137, allocations: 113.1 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/1.137, allocations: 38.5 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.744e-06/1.137, allocations: 0 / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005609/1.138, allocations: 141.6 kB / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/1.138, allocations: 51.41 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/1.138, allocations: 137 kB / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/1.138, allocations: 29.64 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/1.138, allocations: 92.12 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/1.138, allocations: 7.906 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/1.138, allocations: 13.72 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.138, allocations: 322.8 kB / 1.225 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/1.138, allocations: 31.97 kB / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/1.138, allocations: 39.95 kB / 1.225 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/1.139, allocations: 76.78 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.139, allocations: 0 / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003307/1.139, allocations: 121.5 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.139, allocations: 4 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.139, allocations: 4 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/1.139, allocations: 0 / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/1.139, allocations: 15.92 kB / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.139, allocations: 0 / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.927e-05/1.139, allocations: 15.92 kB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/1.139, allocations: 7.984 kB / 1.225 GB, free: 13.92 MB / 0.9512 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 7.861e-05/1.139, allocations: 117.8 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/1.14, allocations: 7.906 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/1.14, allocations: 117.5 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/1.14, allocations: 3.984 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.14, allocations: 0 / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/1.14, allocations: 85.11 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/1.14, allocations: 0 / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/1.14, allocations: 11.98 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/1.14, allocations: 11.92 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004058/1.141, allocations: 200.8 kB / 1.226 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003889/1.141, allocations: 279.1 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001574/1.141, allocations: 43.98 kB / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.269e-05/1.141, allocations: 107.2 kB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of Backend: time 1.753e-06/1.141, allocations: 0 / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005353/1.142, allocations: 128.3 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005309/1.142, allocations: 0.5921 MB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of Templates: time 0.004254/1.147, allocations: 0.9871 MB / 1.228 GB, free: 11.14 MB / 0.9512 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