Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001103/0.001103, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001305/0.001305, allocations: 172.9 kB / 16.27 MB, free: 6.664 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.622/2.622, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 8 kB / 0.8728 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5857/0.5861, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001003/0.5872, allocations: 0.5323 MB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.5886, allocations: 1.152 MB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.5887, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.5887, allocations: 3.938 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.5888, allocations: 15.92 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.5892, allocations: 131.6 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.5893, allocations: 123.8 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.5894, allocations: 35.95 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.589e-05/0.5895, allocations: 43.84 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.439e-05/0.5896, allocations: 43.81 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.5896, allocations: 8 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.111e-05/0.5897, allocations: 23.92 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.5897, allocations: 15.92 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.584e-05/0.5898, allocations: 61.55 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.59, allocations: 145.5 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.59, allocations: 3.938 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.59, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.59, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 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.0005486/0.5906, allocations: 421 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.5906, allocations: 12.02 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.5907, allocations: 12.84 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.5908, allocations: 172.2 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.5908, allocations: 8.375 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.5908, allocations: 12.38 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.5911, allocations: 90.2 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5911, allocations: 192 / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5911, allocations: 7.875 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5911, allocations: 4 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.5913, allocations: 71.95 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.5919, allocations: 376.5 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.592, allocations: 62.55 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.5922, allocations: 32.94 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.5922, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.5924, allocations: 103.3 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.5924, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.00042/0.5928, allocations: 137.6 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.5929, allocations: 59.41 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.195e-05/0.593, allocations: 133.6 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.593, allocations: 25.7 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.5931, allocations: 108 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.5931, allocations: 15.75 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.5932, allocations: 25.72 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5933, allocations: 314.8 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.5934, allocations: 55.97 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.5936, allocations: 91.33 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.5939, allocations: 128.2 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5939, allocations: 4.031 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004158/0.5943, allocations: 199.2 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.5944, allocations: 37.69 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5944, allocations: 96 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.5944, allocations: 11.92 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.5945, allocations: 20 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5945, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.5948, allocations: 63.78 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.5948, allocations: 8 kB / 1.028 GB, free: 10.42 MB / 0.7794 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.000106/0.5949, allocations: 122.1 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.5949, allocations: 4 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.595, allocations: 12.36 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.595, allocations: 0 / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.595, allocations: 0 / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.595, allocations: 3.938 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.5951, allocations: 201.5 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5951, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.223e-05/0.5952, allocations: 8 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5952, allocations: 0 / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.5952, allocations: 3.984 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5952, allocations: 4 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5952, allocations: 0 / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.5955, allocations: 133 kB / 1.028 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.5956, allocations: 89 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.5956, allocations: 4 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.5957, allocations: 16.36 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.5957, allocations: 15.92 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.5958, allocations: 0 / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.859e-05/0.5958, allocations: 103.6 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.044e-06/0.5958, allocations: 0 / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002342/0.5961, allocations: 32 kB / 1.029 GB, free: 9.59 MB / 0.7794 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.0001217/0.5962, allocations: 107.2 kB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003839/0.5966, allocations: 187.3 kB / 1.029 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5966, allocations: 4 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.5967, allocations: 35.97 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.5969, allocations: 21.83 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.5973, allocations: 204.9 kB / 1.029 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.5975, allocations: 0.6926 MB / 1.03 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.5976, allocations: 7.938 kB / 1.03 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.5976, allocations: 15.42 kB / 1.03 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5976, allocations: 0 / 1.03 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of Templates: time 0.003748/0.6014, allocations: 1.445 MB / 1.031 GB, free: 6.824 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches