Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 110.9 kB / 16.42 MB, free: 6.469 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.001416/0.001416, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.463/1.463, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.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.278/2.278, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.00158, allocations: 63.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9703/0.9719, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.002168/0.9741, allocations: 0.6628 MB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.9752, allocations: 0.7958 MB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.9752, allocations: 4 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.9753, allocations: 1.062 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.217e-05/0.9753, allocations: 4.688 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.9755, allocations: 11.14 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.154e-05/0.9756, allocations: 28.17 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.9757, allocations: 4.359 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.6e-05/0.9758, allocations: 9.5 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.9758, allocations: 17.62 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.9759, allocations: 2.094 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.9759, allocations: 5.5 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.9759, allocations: 1.922 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.9759, allocations: 10.58 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.94e-05/0.976, allocations: 16.94 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.9761, allocations: 4.938 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.557e-06/0.9761, allocations: 0.7031 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.9761, allocations: 0 / 1.09 GB, free: 4.453 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004435/0.9765, allocations: 332.3 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.9766, allocations: 8.75 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.9766, allocations: 11.14 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.201e-05/0.9767, allocations: 171.2 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.9767, allocations: 0.9844 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.9767, allocations: 5.438 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.9769, allocations: 49.89 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.9769, allocations: 192 / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.9769, allocations: 3.938 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.977, allocations: 1.312 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.9771, allocations: 36.48 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.9774, allocations: 246.2 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.9776, allocations: 45.34 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.799e-05/0.9777, allocations: 23.56 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.9777, allocations: 4 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.9777, allocations: 32.67 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9777, allocations: 0 / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003555/0.9781, allocations: 84.05 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.704e-05/0.9781, allocations: 51.97 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.9782, allocations: 105.7 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.9782, allocations: 25.7 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.9782, allocations: 86.12 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.9782, allocations: 1.484 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.9783, allocations: 16.47 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.046e-05/0.9783, allocations: 313.3 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.9784, allocations: 14.5 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.9785, allocations: 21.52 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.9786, allocations: 37.77 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9787, allocations: 0 / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001843/0.9788, allocations: 74.45 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.9789, allocations: 6.422 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.9789, allocations: 4 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.9789, allocations: 5.594 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.979, allocations: 13.08 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.979, allocations: 4.594 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.9791, allocations: 6.484 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.9791, allocations: 0 / 1.092 GB, free: 2.734 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 (2): * Single equations (assignments): 2 * 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 5.256e-05/0.9791, allocations: 112.2 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.9792, allocations: 5.062 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.9794, allocations: 72.42 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.9794, allocations: 4.125 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9794, allocations: 0.8438 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.9794, allocations: 82.47 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.9794, allocations: 4.516 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-05/0.9795, allocations: 7.5 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.9796, allocations: 1.125 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002364/0.9798, allocations: 155.5 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002174/0.98, allocations: 242.5 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.374e-05/0.9801, allocations: 19.23 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.171e-05/0.9802, allocations: 84.11 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of Backend: time 2.81e-07/0.9802, allocations: 0 / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.9806, allocations: 97.89 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003775/0.981, allocations: 0.5538 MB / 1.093 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of Templates: time 0.002827/0.9839, allocations: 0.5138 MB / 1.094 GB, free: 1.34 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches