Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001368/0.001375, allocations: 102.1 kB / 16.41 MB, free: 6.488 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.001409/0.001409, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.14 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.343/2.343, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.059, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002326/1.061, allocations: 0.8077 MB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001681/1.063, allocations: 1.155 MB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/1.063, allocations: 1.906 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/1.063, allocations: 8.438 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/1.063, allocations: 10.83 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/1.064, allocations: 142.5 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/1.064, allocations: 154.2 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/1.064, allocations: 35.22 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/1.064, allocations: 56.27 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/1.065, allocations: 58.89 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/1.065, allocations: 14.19 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/1.065, allocations: 27.62 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/1.065, allocations: 18.53 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.638e-05/1.065, allocations: 54.23 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/1.065, allocations: 153.8 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.065, allocations: 1.156 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.305e-06/1.065, allocations: 0 / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.163e-06/1.065, allocations: 0 / 1.091 GB, free: 3.828 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006918/1.066, allocations: 437 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.066, allocations: 9.312 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/1.066, allocations: 11.31 kB / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/1.066, allocations: 177.2 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/1.066, allocations: 8.781 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/1.066, allocations: 9.312 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/1.066, allocations: 87.02 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/1.066, allocations: 8.641 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/1.066, allocations: 4.812 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/1.066, allocations: 1.531 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/1.067, allocations: 60.62 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006282/1.067, allocations: 378.8 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/1.068, allocations: 54.34 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/1.068, allocations: 28.53 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/1.068, allocations: 4.75 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003079/1.068, allocations: 88.28 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/1.068, allocations: 4.656 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004776/1.068, allocations: 125.6 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/1.069, allocations: 57.45 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.069, allocations: 124.3 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/1.069, allocations: 27.98 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/1.069, allocations: 104 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/1.069, allocations: 16.19 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.258e-05/1.069, allocations: 38.05 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.943e-05/1.069, allocations: 318.6 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/1.069, allocations: 53.8 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/1.069, allocations: 80.58 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/1.07, allocations: 121 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.07, allocations: 0 / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000464/1.07, allocations: 195.4 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/1.07, allocations: 34.41 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.07, allocations: 1.578 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/1.07, allocations: 13.58 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/1.07, allocations: 12.59 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/1.07, allocations: 2.391 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/1.071, allocations: 42.17 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/1.071, allocations: 7.688 kB / 1.094 GB, free: 1.66 MB / 0.8575 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.0001031/1.071, allocations: 118.1 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/1.071, allocations: 10.75 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/1.071, allocations: 11.08 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/1.071, allocations: 1.094 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.071, allocations: 1.031 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.071, allocations: 4.734 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/1.071, allocations: 187.9 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/1.071, allocations: 0 / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/1.071, allocations: 8.781 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/1.071, allocations: 4.547 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/1.071, allocations: 1.5 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.071, allocations: 5.125 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.071, allocations: 4.641 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/1.071, allocations: 125.8 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/1.071, allocations: 83.62 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/1.071, allocations: 6.25 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/1.072, allocations: 16.97 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/1.072, allocations: 13.34 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/1.072, allocations: 3.016 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.923e-05/1.072, allocations: 95.72 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.072, allocations: 0.8438 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002458/1.072, allocations: 25.98 kB / 1.095 GB, free: 1.023 MB / 0.8575 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.0001669/1.072, allocations: 101.8 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004323/1.073, allocations: 176.9 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.073, allocations: 0 / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/1.073, allocations: 36.39 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/1.073, allocations: 15.89 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/1.073, allocations: 201 kB / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/1.074, allocations: 0.6957 MB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/1.074, allocations: 15.7 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/1.074, allocations: 0.75 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.004242/1.078, allocations: 1.354 MB / 1.097 GB, free: 15.81 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches