Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 102.3 kB / 16.4 MB, free: 6.492 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.00124/0.00124, allocations: 195.9 kB / 17.34 MB, free: 5.738 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7845/0.7845, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 61.27 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1625, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003175/0.1657, allocations: 1.474 MB / 0.633 GB, free: 3.426 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1671, allocations: 0.6852 MB / 0.6337 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.768e-05/0.1672, allocations: 7.875 kB / 0.6337 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.772e-05/0.1673, allocations: 7.938 kB / 0.6337 GB, free: 2.723 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.1675, allocations: 11.86 kB / 0.6337 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1687, allocations: 344.7 kB / 0.634 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000299/0.169, allocations: 167.7 kB / 0.6342 GB, free: 2.215 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.82e-05/0.1691, allocations: 19.92 kB / 0.6342 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1692, allocations: 67.83 kB / 0.6343 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1693, allocations: 47.77 kB / 0.6343 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.1693, allocations: 12 kB / 0.6343 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004447/0.1698, allocations: 263.7 kB / 0.6346 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.1699, allocations: 31.91 kB / 0.6346 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.17, allocations: 71.69 kB / 0.6347 GB, free: 1.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005131/0.1705, allocations: 294.8 kB / 0.635 GB, free: 1.426 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1705, allocations: 0 / 0.635 GB, free: 1.426 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1705, allocations: 0 / 0.635 GB, free: 1.426 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1706, allocations: 0 / 0.635 GB, free: 1.426 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007387/0.1713, allocations: 485.4 kB / 0.6354 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1714, allocations: 12.03 kB / 0.6354 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.1714, allocations: 42.75 kB / 0.6355 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/0.1715, allocations: 8.844 kB / 0.6355 GB, free: 0.832 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1717, allocations: 213.6 kB / 0.6357 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1718, allocations: 12.38 kB / 0.6357 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.1718, allocations: 12.36 kB / 0.6357 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.172, allocations: 92.8 kB / 0.6358 GB, free: 468 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.172, allocations: 3.938 kB / 0.6358 GB, free: 464 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.172, allocations: 8 kB / 0.6358 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1721, allocations: 4 kB / 0.6358 GB, free: 452 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.676e-05/0.1722, allocations: 43.91 kB / 0.6358 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.1724, allocations: 247.3 kB / 0.6361 GB, free: 104 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1726, allocations: 115.9 kB / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1727, allocations: 74.61 kB / 0.6363 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.1728, allocations: 0 / 0.6363 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.173, allocations: 141.7 kB / 0.6364 GB, free: 15.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.173, allocations: 0 / 0.6364 GB, free: 15.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.000438/0.1735, allocations: 213.4 kB / 0.6366 GB, free: 15.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.1736, allocations: 118.8 kB / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1737, allocations: 139.6 kB / 0.6369 GB, free: 15.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.1737, allocations: 37.7 kB / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.1738, allocations: 100.7 kB / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.1739, allocations: 51.34 kB / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.174, allocations: 65.69 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1741, allocations: 322.8 kB / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.299e-05/0.1742, allocations: 56.25 kB / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.1744, allocations: 177.5 kB / 0.6376 GB, free: 14.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.1746, allocations: 142.4 kB / 0.6378 GB, free: 14.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1746, allocations: 0 / 0.6378 GB, free: 14.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003041/0.1749, allocations: 201.3 kB / 0.638 GB, free: 14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1749, allocations: 4 kB / 0.638 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.175, allocations: 4 kB / 0.638 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.175, allocations: 4.141 kB / 0.638 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1751, allocations: 11.94 kB / 0.638 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.1751, allocations: 0.9375 kB / 0.638 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.1754, allocations: 63.7 kB / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.1754, allocations: 4 kB / 0.638 GB, free: 13.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001454/0.1756, allocations: 144 kB / 0.6382 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1756, allocations: 11.81 kB / 0.6382 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.1756, allocations: 20.7 kB / 0.6382 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1756, allocations: 4 kB / 0.6382 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1757, allocations: 0 / 0.6382 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1757, allocations: 4 kB / 0.6382 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.1759, allocations: 213.4 kB / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1759, allocations: 0 / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.1759, allocations: 8 kB / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1759, allocations: 4 kB / 0.6384 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1759, allocations: 4 kB / 0.6384 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.176, allocations: 4 kB / 0.6384 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.176, allocations: 0 / 0.6384 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.1763, allocations: 216.1 kB / 0.6386 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.1763, allocations: 100.8 kB / 0.6387 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.1763, allocations: 0 / 0.6387 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.1764, allocations: 11.92 kB / 0.6388 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.1765, allocations: 11.98 kB / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.1765, allocations: 4 kB / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.496e-05/0.1766, allocations: 105.1 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1766, allocations: 4 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.177, allocations: 99.98 kB / 0.639 GB, free: 12.86 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008406/0.1778, allocations: 0.8403 MB / 0.6398 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.1782, allocations: 225.8 kB / 0.64 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1782, allocations: 4 kB / 0.64 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.1783, allocations: 51.92 kB / 0.6401 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.1785, allocations: 16.2 kB / 0.6401 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.1807, allocations: 1.822 MB / 0.6419 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.1811, allocations: 0.7086 MB / 0.6425 GB, free: 9.016 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.752e-05/0.1812, allocations: 12.88 kB / 0.6426 GB, free: 9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.1812, allocations: 35.42 kB / 0.6426 GB, free: 8.965 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1812, allocations: 0 / 0.6426 GB, free: 8.965 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.2055, allocations: 4.687 MB / 0.6472 GB, free: 4.445 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.07, allocations: 10.22 kB / 0.6472 GB, free: 4.441 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)