Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.SetPoints.Validation.ZoneTemperatures.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.SetPoints.Validation.ZoneTemperatures,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_SetPoints_Validation_ZoneTemperatures",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.127/4.127, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.335e-05/2.351e-05, allocations: 3.312 kB / 0.5325 GB, free: 12.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2292, allocations: 98.73 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2479/0.4772, allocations: 132.5 MB / 0.7584 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/0.4776, allocations: 75.95 kB / 0.7584 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08021/0.5578, allocations: 20.14 MB / 0.7781 GB, free: 112 kB / 0.6511 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5579, allocations: 0 / 0.7781 GB, free: 112 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001068/0.558, allocations: 28 kB / 0.7781 GB, free: 84 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.5354/1.093, allocations: 1.408 MB / 0.7795 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.093, allocations: 10.53 kB / 0.7795 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/1.094, allocations: 171 kB / 0.7797 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/1.096, allocations: 0.6543 MB / 0.7803 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/1.096, allocations: 64.8 kB / 0.7804 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/1.096, allocations: 98.7 kB / 0.7805 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00353/1.1, allocations: 0.9628 MB / 0.7814 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004363/1.104, allocations: 1.191 MB / 0.7826 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/1.104, allocations: 3.281 kB / 0.7826 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/1.104, allocations: 12.12 kB / 0.7826 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.273e-05/1.104, allocations: 37.12 kB / 0.7826 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/1.116, allocations: 4.376 MB / 0.7869 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/1.119, allocations: 0.7505 MB / 0.7876 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00087/1.12, allocations: 328 kB / 0.7879 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.773e-05/1.12, allocations: 13.58 kB / 0.7879 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/1.121, allocations: 452.9 kB / 0.7884 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=101): time 4.699e-06/1.121, allocations: 0 / 0.7884 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=101): time 0.002238/1.123, allocations: 0.7602 MB / 0.7891 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/1.123, allocations: 78.56 kB / 0.7892 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/1.124, allocations: 0.5748 MB / 0.7898 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002216/1.125, allocations: 45.08 kB / 0.7898 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006134/1.125, allocations: 0.5831 MB / 0.7904 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003843/1.126, allocations: 265 kB / 0.7906 GB, free: 129 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.65e-05/1.126, allocations: 0 / 0.7906 GB, free: 129 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.126, allocations: 395.2 kB / 0.791 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008708/1.127, allocations: 316.4 kB / 0.7913 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/1.128, allocations: 0.5084 MB / 0.7918 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009204/1.129, allocations: 328.4 kB / 0.7921 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.129, allocations: 1.594 kB / 0.7921 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002564/1.131, allocations: 0.9121 MB / 0.793 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004235/1.132, allocations: 1.925 MB / 0.7949 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/1.132, allocations: 5.656 kB / 0.7949 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.765e-05/1.132, allocations: 11.08 kB / 0.7949 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.134, allocations: 184 kB / 0.7951 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.91e-05/1.134, allocations: 12.28 kB / 0.7951 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/1.135, allocations: 115 kB / 0.7952 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/1.135, allocations: 42.66 kB / 0.7952 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/1.135, allocations: 2.625 kB / 0.7952 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002234/1.137, allocations: 0.7898 MB / 0.796 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/1.137, allocations: 8.594 kB / 0.796 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/1.137, allocations: 11.47 kB / 0.796 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.139, allocations: 168.9 kB / 0.7962 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/1.139, allocations: 15.89 kB / 0.7962 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.14, allocations: 91.45 kB / 0.7963 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/1.14, allocations: 44.66 kB / 0.7963 GB, free: 126.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 87 ($PRE.TZonSet.truHol.onDelay.u,$PRE.TZonSet.truHol.toOutputTrue.enableFire,$PRE.TZonSet.truHol.toInitial.enableFire,$PRE.TZonSet.tim.yAcc,TZonSet.tim.yAcc,$whenCondition4,$PRE.TZonSet.truHol.onDelay.t_next,$whenCondition2,$whenCondition1,TZonSet.truHol.onDelay.t_next,TZonSet.truHol.stateGraphRoot.resume,TZonSet.truHol.stateGraphRoot.suspend,TZonSet.winSenCon.y,TZonSet.have_occSenCon.y,TZonSet.heaSetAdjCon.y,TZonSet.cooSetAdjCon.y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,TZonSet.uOpeMod,TZonSet.yAla,$PRE.TZonSet.cooSetFre.y,TZonSet.cooSetFre.y,TZonSet.cooSetFre.trigger,TZonSet.or5.y,$PRE.TZonSet.heaSetFre.y,TZonSet.heaSetFre.y,TZonSet.tim.u,$PRE.TZonSet.tim.entryTime,TZonSet.tim.entryTime,TZonSet.truHol.stateGraphRoot.activeSteps,TZonSet.truHol.onDelay.u,TZonSet.truHol.onDelay.y,$PRE.TZonSet.truHol.initialStep.localActive,TZonSet.truHol.initialStep.localActive,$PRE.TZonSet.truHol.initialStep.newActive,TZonSet.truHol.initialStep.newActive,$PRE.TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.active,$PRE.TZonSet.truHol.outputTrue.localActive,TZonSet.truHol.outputTrue.localActive,$PRE.TZonSet.truHol.outputTrue.newActive,TZonSet.truHol.outputTrue.newActive,$PRE.TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.outputTrue.active,TZonSet.truHol.toOutputTrue.enableFire,TZonSet.truHol.toInitial.enableFire,$PRE.TZonSet.edg1.u,TZonSet.edg1.u,$PRE.TZonSet.cooSetSam.y,TZonSet.cooSetSam.y,TZonSet.cooSetSam.trigger,$PRE.TZonSet.heaSetSam.y,TZonSet.heaSetSam.y,TZonSet.greThr.y,TZonSet.intEqu.y,TZonSet.intEqu1.y,TZonSet.or3.y,TZonSet.and11.u1,TZonSet.and11.y,TZonSet.lesEqu.y,TZonSet.greEqu1.y,TZonSet.greEqu2.y,TZonSet.uOccSen,TZonSet.uWinSta,booToInt.u,$PRE.winSta.pulseStart,winSta.pulseStart,$PRE.occSta.pulseStart,occSta.pulseStart,$PRE.TZonSet.edg.u,TZonSet.edg.u,TZonSet.not1.y,TZonSet.not2.y,TZonSet.or1.u3,TZonSet.or1.u2,TZonSet.or1.u1,TZonSet.or2.u2,TZonSet.or2.u1,TZonSet.or4.u1,TZonSet.or4.u3,TZonSet.or4.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * 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.0004088/1.14, allocations: 179.7 kB / 0.7965 GB, free: 126 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002102/1.142, allocations: 0.7559 MB / 0.7972 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/1.143, allocations: 91.53 kB / 0.7973 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/1.145, allocations: 0.8134 MB / 0.7981 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/1.145, allocations: 15.08 kB / 0.7981 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.145, allocations: 1.562 kB / 0.7981 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/1.145, allocations: 4.734 kB / 0.7981 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/1.15, allocations: 2.007 MB / 0.8001 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.814e-05/1.15, allocations: 0 / 0.8001 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/1.151, allocations: 132.3 kB / 0.8002 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.787e-05/1.151, allocations: 5 kB / 0.8002 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/1.152, allocations: 9.875 kB / 0.8002 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.478e-05/1.152, allocations: 5.5 kB / 0.8003 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/1.152, allocations: 5.438 kB / 0.8003 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/1.154, allocations: 0.9509 MB / 0.8012 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/1.154, allocations: 169.6 kB / 0.8013 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/1.155, allocations: 11.41 kB / 0.8014 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008577/1.155, allocations: 63.92 kB / 0.8014 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/1.156, allocations: 96.05 kB / 0.8015 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.914e-05/1.156, allocations: 32.41 kB / 0.8015 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006494/1.157, allocations: 376 kB / 0.8019 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.51e-07/1.157, allocations: 0 / 0.8019 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001919/1.158, allocations: 418.7 kB / 0.8023 GB, free: 124.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 52 (TZonSet.cooSetFre.trigger,TZonSet.truHol.initialStep.localActive,TZonSet.truHol.outputTrue.active,TZonSet.truHol.onDelay.u,TZonSet.cooSetSam.trigger,TZonSet.truHol.outputTrue.localActive,TZonSet.tim.u,$cse1,$cse2,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$whenCondition1,TZonSet.uOpeMod,TZonSet.yAla,TZonSet.cooSetFre.y,TZonSet.heaSetFre.y,TZonSet.tim.entryTime,TZonSet.tim.yAcc,TZonSet.truHol.stateGraphRoot.activeSteps,TZonSet.truHol.onDelay.y,TZonSet.truHol.onDelay.t_next,TZonSet.truHol.initialStep.newActive,TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.active,TZonSet.truHol.outputTrue.newActive,TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.toOutputTrue.enableFire,TZonSet.truHol.toInitial.enableFire,TZonSet.edg1.u,TZonSet.cooSetSam.y,TZonSet.heaSetSam.y,TZonSet.greThr.y,TZonSet.intEqu.y,TZonSet.intEqu1.y,TZonSet.or3.y,TZonSet.and11.u1,TZonSet.and11.y,TZonSet.lesEqu.y,TZonSet.greEqu1.y,TZonSet.greEqu2.y,TZonSet.uOccSen,TZonSet.uWinSta,booToInt.u,winSta.pulseStart,occSta.pulseStart,TZonSet.or5.y) * Number of discrete states: 5 (TZonSet.truHol.onDelay.t_next,TZonSet.tim.y,TZonSet.truHol.outputTrue.newActive,TZonSet.edg1.u,TZonSet.truHol.initialStep.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.002326/1.161, allocations: 1.763 MB / 0.804 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003284/1.164, allocations: 1.338 MB / 0.8053 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.164, allocations: 0 / 0.8053 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/1.165, allocations: 444.2 kB / 0.8058 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009116/1.166, allocations: 73.56 kB / 0.8058 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/1.172, allocations: 1.588 MB / 0.8074 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/1.172, allocations: 1.146 MB / 0.8085 GB, free: 121 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001353/1.174, allocations: 185.4 kB / 0.8087 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000949/1.175, allocations: 477.7 kB / 0.8091 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/1.175, allocations: 0 / 0.8091 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08256/1.257, allocations: 17.09 MB / 0.8258 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/1.257, allocations: 198.9 kB / 0.826 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.4/4.657, allocations: 5.812 kB / 0.826 GB, free: 113.2 MB / 0.6511 GB