Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001249/0.00125, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.17 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.316/2.316, allocations: 390.2 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.89 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9546/0.9565, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.001981/0.9585, allocations: 0.6622 MB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.9595, allocations: 0.8026 MB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.9595, allocations: 0 / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.9595, allocations: 4.688 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.362e-05/0.9596, allocations: 1.094 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.9598, allocations: 12.8 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.061e-05/0.9599, allocations: 19.98 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.96, allocations: 8.234 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.468e-05/0.9601, allocations: 13.33 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.9601, allocations: 13.7 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.9601, allocations: 2.156 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.9602, allocations: 1.125 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.9602, allocations: 10.27 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.9602, allocations: 11.5 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.648e-05/0.9603, allocations: 20.44 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.9603, allocations: 0.5625 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9603, allocations: 0 / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.9603, allocations: 1.094 kB / 1.09 GB, free: 4.445 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.0004531/0.9608, allocations: 335.6 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.9609, allocations: 9.031 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.9609, allocations: 6.688 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.712e-05/0.961, allocations: 167.8 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.961, allocations: 1.594 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.961, allocations: 1.656 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.9612, allocations: 47.98 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.9612, allocations: 1.312 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.9612, allocations: 8.5 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.9613, allocations: 3.984 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.9614, allocations: 40.64 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.9618, allocations: 246.4 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.9619, allocations: 44.61 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.55e-05/0.962, allocations: 23.97 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.9621, allocations: 5.109 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.9621, allocations: 35.53 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.9621, allocations: 0 / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003721/0.9625, allocations: 84.84 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.9625, allocations: 55.41 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.9626, allocations: 97.39 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.9626, allocations: 26.8 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.9626, allocations: 89.83 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.9626, allocations: 1.469 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.9627, allocations: 12.06 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.9627, allocations: 316.5 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-05/0.9628, allocations: 18.36 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.9629, allocations: 15.28 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.9631, allocations: 44.73 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9631, allocations: 0 / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001951/0.9633, allocations: 74.97 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.9633, allocations: 5.953 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9633, allocations: 3.938 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.9633, allocations: 1.312 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.9634, allocations: 8.281 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.9634, allocations: 1.547 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.9635, allocations: 6.234 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.9635, allocations: 0.9375 kB / 1.092 GB, free: 2.727 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.697e-05/0.9636, allocations: 111.8 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.9636, allocations: 4.875 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.9638, allocations: 75.83 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.9638, allocations: 0 / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.9639, allocations: 1.938 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.9639, allocations: 77.62 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.9639, allocations: 1.375 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.964, allocations: 9.75 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.964, allocations: 2.641 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000245/0.9643, allocations: 151.6 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002329/0.9645, allocations: 241.3 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.34e-05/0.9646, allocations: 16.44 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.619e-05/0.9647, allocations: 83.67 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of Backend: time 2.5e-07/0.9647, allocations: 0 / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.9651, allocations: 98.17 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003698/0.9655, allocations: 0.558 MB / 1.093 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of Templates: time 0.002998/0.9685, allocations: 0.5466 MB / 1.094 GB, free: 1.324 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches