Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 112.3 kB / 16.41 MB, free: 6.008 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.001597/0.001597, allocations: 185 kB / 17.34 MB, free: 5.629 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 67.89 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9069/0.9096, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002148/0.9118, allocations: 0.8039 MB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.9133, allocations: 1.155 MB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.9134, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.9135, allocations: 3.938 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.279e-05/0.9136, allocations: 15.86 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.9141, allocations: 150.2 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.9144, allocations: 151.7 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.9145, allocations: 35.97 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.9146, allocations: 51.91 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.9148, allocations: 63.73 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.9148, allocations: 12 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.003e-05/0.9149, allocations: 27.98 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.9149, allocations: 15.98 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.218e-05/0.915, allocations: 55.78 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.9152, allocations: 155.5 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.9152, allocations: 4 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9152, allocations: 0 / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.9153, allocations: 0 / 1.211 GB, free: 10.94 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006586/0.9159, allocations: 434.6 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.916, allocations: 11.97 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.916, allocations: 12.84 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.9161, allocations: 176.2 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.9162, allocations: 8.375 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.9162, allocations: 12.38 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.9164, allocations: 85.22 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.9165, allocations: 3.938 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.9165, allocations: 0 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.9165, allocations: 7.938 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.9167, allocations: 55.94 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.9173, allocations: 384.5 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.9174, allocations: 46.56 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.9175, allocations: 32.92 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.9176, allocations: 0 / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.9178, allocations: 87.36 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.9178, allocations: 0 / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0004286/0.9183, allocations: 133.5 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.9183, allocations: 55.39 kB / 1.213 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.9184, allocations: 129.7 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.9184, allocations: 29.69 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.9185, allocations: 108 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.9185, allocations: 7.844 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.467e-05/0.9186, allocations: 41.69 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.9188, allocations: 318.8 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.9189, allocations: 47.95 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.9191, allocations: 87.39 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.9194, allocations: 112.2 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9194, allocations: 0 / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004139/0.9198, allocations: 195.2 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.9198, allocations: 41.69 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.9199, allocations: 4 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.9199, allocations: 0 / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.061e-05/0.92, allocations: 11.97 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.92, allocations: 15.94 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.9202, allocations: 35.86 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.9202, allocations: 12 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001094/0.9204, allocations: 125.8 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.9204, allocations: 0 / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.9204, allocations: 12.47 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.9204, allocations: 3.938 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9204, allocations: 3.938 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9204, allocations: 0 / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.9206, allocations: 189.5 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.9206, allocations: 0 / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.607e-05/0.9207, allocations: 19.98 kB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.9207, allocations: 0 / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.9207, allocations: 0 / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.9207, allocations: 0 / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9207, allocations: 4.25 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.921, allocations: 125 kB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.921, allocations: 85.02 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.9211, allocations: 4 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.9211, allocations: 11.98 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.9212, allocations: 15.92 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.9212, allocations: 4 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.791e-05/0.9213, allocations: 95.2 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9213, allocations: 0 / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002288/0.9215, allocations: 27.94 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001413/0.9217, allocations: 111.4 kB / 1.214 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.922, allocations: 167.3 kB / 1.215 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9221, allocations: 0 / 1.215 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.9222, allocations: 39.97 kB / 1.215 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.9224, allocations: 11.98 kB / 1.215 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.9228, allocations: 212.7 kB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.9231, allocations: 0.6885 MB / 1.216 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.9231, allocations: 11.44 kB / 1.216 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.9231, allocations: 0 / 1.216 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of Templates: time 0.003088/0.9262, allocations: 1.359 MB / 1.217 GB, free: 4.527 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches