Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001073, allocations: 173.1 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009291/0.000929, allocations: 94.84 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004007, allocations: 9.969 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2814, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.4628, allocations: 151.5 MB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.4631, allocations: 71.95 kB / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0248/0.4879, allocations: 9.594 MB / 1.38 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.488, allocations: 7.938 kB / 1.38 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.187e-05/0.488, allocations: 12 kB / 1.38 GB, free: 0.7695 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001759/0.4898, allocations: 0.9357 MB / 1.381 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4898, allocations: 8.031 kB / 1.381 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.49, allocations: 114.5 kB / 1.381 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.4902, allocations: 79.06 kB / 1.381 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006742/0.4909, allocations: 386.7 kB / 1.382 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.927e-05/0.491, allocations: 61.31 kB / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.4911, allocations: 80 kB / 1.382 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.4923, allocations: 0.5452 MB / 1.382 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.4924, allocations: 7.938 kB / 1.382 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.803e-05/0.4924, allocations: 24 kB / 1.383 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.4925, allocations: 16 kB / 1.383 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.4935, allocations: 453 kB / 1.383 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/0.4963, allocations: 1.633 MB / 1.385 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000774/0.4971, allocations: 392.1 kB / 1.385 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.4972, allocations: 8.406 kB / 1.385 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005375/0.4977, allocations: 289 kB / 1.385 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=48): time 2.315e-06/0.4977, allocations: 0 / 1.385 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=48): time 0.001068/0.4988, allocations: 0.5229 MB / 1.386 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.4989, allocations: 114.8 kB / 1.386 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.4994, allocations: 441 kB / 1.386 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-05/0.4994, allocations: 49.7 kB / 1.386 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.4997, allocations: 293 kB / 1.387 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.4998, allocations: 126.3 kB / 1.387 GB, free: 10 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.4999, allocations: 12 kB / 1.387 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5, allocations: 366.8 kB / 1.387 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.5004, allocations: 189 kB / 1.387 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.5009, allocations: 323.8 kB / 1.388 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.5013, allocations: 183.8 kB / 1.388 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5013, allocations: 4 kB / 1.388 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009361/0.5022, allocations: 0.5235 MB / 1.388 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.438e-05/0.5023, allocations: 41.75 kB / 1.388 GB, free: 8.305 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5023, allocations: 4 kB / 1.388 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.5023, allocations: 4 kB / 1.388 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.5025, allocations: 63.84 kB / 1.388 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.5026, allocations: 4 kB / 1.388 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/0.5032, allocations: 183.4 kB / 1.389 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.5032, allocations: 19.98 kB / 1.389 GB, free: 8.031 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,$whenCondition2,noWinZonSta.yOccHeaHig,noWinZonSta.yHigOccCoo,noWinZonSta.yUnoHeaHig,noWinZonSta.yEndSetBac,noWinZonSta.yHigUnoCoo,noWinZonSta.yEndSetUp,$PRE.noWinZonSta.hys.y,noWinZonSta.hys.y,$PRE.noWinZonSta.hys1.y,noWinZonSta.hys1.y,$PRE.noWinZonSta.hys2.y,noWinZonSta.hys2.y,$PRE.noWinZonSta.hys5.y,noWinZonSta.hys5.y,$PRE.noWinZonSta.hys3.y,noWinZonSta.hys3.y,$PRE.noWinZonSta.hys4.y,noWinZonSta.hys4.y,witWinZonSta.yOccHeaHig,witWinZonSta.yHigOccCoo,witWinZonSta.yUnoHeaHig,witWinZonSta.yEndSetBac,witWinZonSta.yHigUnoCoo,witWinZonSta.yEndSetUp,$PRE.witWinZonSta.hys.y,witWinZonSta.hys.y,$PRE.witWinZonSta.hys1.y,witWinZonSta.hys1.y,$PRE.witWinZonSta.hys2.y,witWinZonSta.hys2.y,$PRE.witWinZonSta.hys5.y,witWinZonSta.hys5.y,$PRE.witWinZonSta.hys3.y,witWinZonSta.hys3.y,$PRE.witWinZonSta.hys4.y,witWinZonSta.hys4.y,$PRE.uWinSta.y,uWinSta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002711/0.5035, allocations: 201.8 kB / 1.389 GB, free: 7.824 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.5036, allocations: 55.28 kB / 1.389 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007727/0.5044, allocations: 418.7 kB / 1.389 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.5044, allocations: 7.938 kB / 1.389 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.5044, allocations: 11.95 kB / 1.389 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.5044, allocations: 4 kB / 1.389 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008017/0.5052, allocations: 0.7957 MB / 1.39 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5052, allocations: 4 kB / 1.39 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.5055, allocations: 51.91 kB / 1.39 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.5055, allocations: 0 / 1.39 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.5055, allocations: 15.94 kB / 1.39 GB, free: 6.398 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.5055, allocations: 8.062 kB / 1.39 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5055, allocations: 0 / 1.39 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/0.5062, allocations: 461.6 kB / 1.391 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.5064, allocations: 132.4 kB / 1.391 GB, free: 5.754 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-05/0.5064, allocations: 20 kB / 1.391 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.5068, allocations: 75.94 kB / 1.391 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.507, allocations: 107.8 kB / 1.391 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.507, allocations: 19.98 kB / 1.391 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003471/0.5074, allocations: 330.9 kB / 1.391 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5074, allocations: 0 / 1.391 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004305/0.5078, allocations: 131.7 kB / 1.391 GB, free: 5.086 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition1,$whenCondition2,noWinZonSta.yOccHeaHig,noWinZonSta.yHigOccCoo,noWinZonSta.yUnoHeaHig,noWinZonSta.yEndSetBac,noWinZonSta.yHigUnoCoo,noWinZonSta.yEndSetUp,noWinZonSta.hys.y,noWinZonSta.hys1.y,noWinZonSta.hys2.y,noWinZonSta.hys5.y,noWinZonSta.hys3.y,noWinZonSta.hys4.y,witWinZonSta.yOccHeaHig,witWinZonSta.yHigOccCoo,witWinZonSta.yUnoHeaHig,witWinZonSta.yEndSetBac,witWinZonSta.yHigUnoCoo,witWinZonSta.yEndSetUp,witWinZonSta.hys.y,witWinZonSta.hys1.y,witWinZonSta.hys2.y,witWinZonSta.hys5.y,witWinZonSta.hys3.y,witWinZonSta.hys4.y,uWinSta.y) * Number of discrete states: 12 (witWinZonSta.hys4.y,witWinZonSta.hys3.y,witWinZonSta.hys5.y,witWinZonSta.hys2.y,witWinZonSta.hys1.y,witWinZonSta.hys.y,noWinZonSta.hys4.y,noWinZonSta.hys3.y,noWinZonSta.hys5.y,noWinZonSta.hys2.y,noWinZonSta.hys1.y,noWinZonSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/0.509, allocations: 1.182 MB / 1.392 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000894/0.5099, allocations: 497.6 kB / 1.393 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.51, allocations: 0 / 1.393 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.5104, allocations: 240.1 kB / 1.393 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.5107, allocations: 37.97 kB / 1.393 GB, free: 3.094 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.5128, allocations: 1.92 MB / 1.395 GB, free: 1.102 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.5132, allocations: 0.8878 MB / 1.396 GB, free: 188 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001913/0.5134, allocations: 56.39 kB / 1.396 GB, free: 132 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.5137, allocations: 223.4 kB / 1.396 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of SimCode: time 4.61e-07/0.5137, allocations: 0 / 1.396 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.5405, allocations: 10.73 MB / 1.407 GB, free: 5.418 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/0.5408, allocations: 214.5 kB / 1.407 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.275/2.816, allocations: 8.062 kB / 1.407 GB, free: 5.168 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus_res.mat does not exist to compare? outputFormat=mat