Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_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.002005/0.002004, allocations: 113.5 kB / 16.42 MB, free: 6.473 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.002408/0.002408, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.16 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.612/2.612, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 63.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00292/1.026, allocations: 1.484 MB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003633/1.027, allocations: 114.9 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/1.027, allocations: 4 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.357e-05/1.027, allocations: 3.984 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/1.027, allocations: 15.86 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/1.027, allocations: 19.97 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/1.027, allocations: 47.86 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/1.027, allocations: 7.984 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.714e-05/1.027, allocations: 19.92 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/1.027, allocations: 23.86 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/1.027, allocations: 4 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.082e-05/1.028, allocations: 19.98 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/1.028, allocations: 23.91 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/1.028, allocations: 23.88 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/1.028, allocations: 55.8 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.028, allocations: 0 / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.753e-06/1.028, allocations: 0 / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.671e-06/1.028, allocations: 0 / 1.169 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.0005825/1.028, allocations: 373 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.028, allocations: 8.922 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/1.029, allocations: 16.83 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/1.029, allocations: 181.4 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/1.029, allocations: 4.375 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/1.029, allocations: 4.375 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/1.029, allocations: 74.2 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/1.029, allocations: 192 / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/1.029, allocations: 3.938 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.029, allocations: 4 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/1.029, allocations: 71.92 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/1.03, allocations: 277 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/1.03, allocations: 78.41 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/1.03, allocations: 44.91 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/1.03, allocations: 109 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.031, allocations: 34.56 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 3.456e-06/1.031, allocations: 7.938 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005986/1.031, allocations: 145.7 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/1.031, allocations: 51.41 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/1.031, allocations: 131.5 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/1.031, allocations: 25.7 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/1.031, allocations: 96.03 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/1.031, allocations: 11.91 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/1.031, allocations: 13.72 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.032, allocations: 318.8 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/1.032, allocations: 31.97 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/1.032, allocations: 47.94 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/1.032, allocations: 72.78 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.032, allocations: 0 / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003313/1.033, allocations: 117.4 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.033, allocations: 15.98 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.033, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.033, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/1.033, allocations: 19.92 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.033, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.94e-05/1.033, allocations: 15.92 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/1.033, allocations: 0 / 1.171 GB, free: 15.39 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 9.714e-05/1.033, allocations: 125.8 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/1.033, allocations: 0 / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/1.033, allocations: 113.5 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/1.033, allocations: 7.938 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.033, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/1.034, allocations: 85 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/1.034, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/1.034, allocations: 15.98 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/1.034, allocations: 7.938 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004169/1.034, allocations: 196.9 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004034/1.035, allocations: 290.6 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001527/1.035, allocations: 39.95 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.127e-05/1.035, allocations: 99.27 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of Backend: time 2.4e-07/1.035, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005378/1.035, allocations: 126.6 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005673/1.036, allocations: 0.5882 MB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of Templates: time 0.00374/1.04, allocations: 0.9913 MB / 1.174 GB, free: 12.61 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches