Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 99.75 kB / 18.94 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002123/0.002123, allocations: 217.5 kB / 22.25 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.235/3.235, allocations: 0.49 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 66.58 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3551, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002493/0.3576, allocations: 1.089 MB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.3596, allocations: 1.397 MB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.3597, allocations: 4 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.922e-05/0.3598, allocations: 27.67 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.3599, allocations: 47.59 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000842/0.3608, allocations: 295.1 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004639/0.3612, allocations: 411.7 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.3614, allocations: 92.78 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.3616, allocations: 155.5 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.3619, allocations: 159.3 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.273e-05/0.362, allocations: 48 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.3621, allocations: 59.98 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.3622, allocations: 55.84 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.3623, allocations: 143.4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005403/0.3629, allocations: 490.5 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3629, allocations: 4 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3629, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.3629, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001029/0.3639, allocations: 0.5395 MB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.364, allocations: 16.03 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.605e-05/0.364, allocations: 50.73 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/0.3641, allocations: 32.8 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.3648, allocations: 265.8 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.3648, allocations: 24.38 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.3649, allocations: 28.38 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.3652, allocations: 178.3 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3652, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.3652, allocations: 16 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.3653, allocations: 4 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.3655, allocations: 112 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009936/0.3665, allocations: 0.5735 MB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.3669, allocations: 158.7 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.367, allocations: 57.12 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.367, allocations: 11.88 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.3673, allocations: 132.4 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.3673, allocations: 0 / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004744/0.3678, allocations: 226.8 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.3678, allocations: 55.41 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.3681, allocations: 218.8 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.3681, allocations: 33.7 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.3683, allocations: 144.6 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.3684, allocations: 51.58 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.3685, allocations: 81.67 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3687, allocations: 338.8 kB / 1.333 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.3689, allocations: 159.3 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.3693, allocations: 310.5 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.3695, allocations: 211.6 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.3696, allocations: 4 kB / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006867/0.3702, allocations: 426.6 kB / 1.334 GB, free: 8.355 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.765e-05/0.3703, allocations: 71.34 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3703, allocations: 0 / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3703, allocations: 4 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.3704, allocations: 19.97 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3704, allocations: 0 / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.3708, allocations: 83.92 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.3708, allocations: 15.98 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.0001761/0.371, allocations: 152.1 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.3711, allocations: 27.78 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.225e-05/0.3711, allocations: 25.81 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.3711, allocations: 0 / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3711, allocations: 4 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3711, allocations: 3.984 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.3714, allocations: 248.5 kB / 1.335 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3714, allocations: 0 / 1.335 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.3715, allocations: 15.94 kB / 1.335 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.3715, allocations: 11.92 kB / 1.335 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.3715, allocations: 0 / 1.335 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3715, allocations: 0 / 1.335 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3715, allocations: 4 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.3719, allocations: 198.3 kB / 1.335 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.3719, allocations: 19.8 kB / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.3719, allocations: 16 kB / 1.335 GB, free: 7.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.372, allocations: 15.98 kB / 1.335 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.706e-05/0.3721, allocations: 31.94 kB / 1.335 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.3721, allocations: 8 kB / 1.335 GB, free: 7.316 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001455/0.3723, allocations: 152.3 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3723, allocations: 0 / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000302/0.3726, allocations: 59.83 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007586/0.3733, allocations: 0.7582 MB / 1.336 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006592/0.374, allocations: 371.5 kB / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.374, allocations: 4 kB / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.3742, allocations: 67.92 kB / 1.337 GB, free: 5.852 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3745, allocations: 37.53 kB / 1.337 GB, free: 5.816 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/0.3785, allocations: 2.711 MB / 1.339 GB, free: 2.938 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.3786, allocations: 126.2 kB / 1.34 GB, free: 2.793 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.3787, allocations: 29.94 kB / 1.34 GB, free: 2.766 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.3789, allocations: 75.41 kB / 1.34 GB, free: 2.695 MB / 1.029 GB Notification: Performance of SimCode: time 1.103e-06/0.3789, allocations: 0 / 1.34 GB, free: 2.695 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/0.4142, allocations: 6.371 MB / 1.346 GB, free: 12.52 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.82, allocations: 2.438 kB / 1.346 GB, free: 12.52 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.624596506007947]