Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00158/0.00158, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.717/2.717, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.05 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3546, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.002254/0.3569, allocations: 0.902 MB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.3585, allocations: 1.197 MB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.3586, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.654e-05/0.3587, allocations: 11.94 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.338e-05/0.3588, allocations: 11.91 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.3594, allocations: 135.2 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.3596, allocations: 155.7 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3598, allocations: 32.19 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3599, allocations: 55.84 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.36, allocations: 67.72 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.36, allocations: 16 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-05/0.3601, allocations: 23.98 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.3602, allocations: 19.92 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.02e-05/0.3603, allocations: 63.77 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.3605, allocations: 147.8 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3605, allocations: 0 / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3605, allocations: 0 / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3605, allocations: 0 / 1.07 GB, free: 7.938 MB / 0.8262 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.000692/0.3612, allocations: 437 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3612, allocations: 8.031 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.3613, allocations: 20.75 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.3614, allocations: 180.2 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.3615, allocations: 8.312 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.3615, allocations: 12.38 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.3618, allocations: 97.69 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3618, allocations: 4.125 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.3618, allocations: 7.938 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3619, allocations: 0 / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.3622, allocations: 91.91 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/0.3628, allocations: 388.5 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.3631, allocations: 94.66 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.3633, allocations: 60.75 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.3633, allocations: 4 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.3636, allocations: 123.2 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.3636, allocations: 0 / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006768/0.3643, allocations: 201.5 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3644, allocations: 67.34 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.3645, allocations: 121.8 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.3645, allocations: 33.7 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.3646, allocations: 100 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.3646, allocations: 23.66 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/0.3647, allocations: 49.69 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3648, allocations: 330.7 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.3651, allocations: 79.94 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.3653, allocations: 114 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.3658, allocations: 181.8 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3658, allocations: 0 / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006261/0.3664, allocations: 274.4 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.3665, allocations: 37.7 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3665, allocations: 0 / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3665, allocations: 0 / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.3666, allocations: 23.97 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3667, allocations: 3.938 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.3669, allocations: 47.98 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.367, allocations: 11.98 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,zeroCrossing.u_pos,$PRE.zeroCrossing.u_pos,zeroCrossing.disable,$PRE.zeroCrossing.disable,zeroCrossing.enable,$PRE.zeroCrossing.enable,zeroCrossing.y,booPul1.y,$PRE.booPul1.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0001143/0.3671, allocations: 129.7 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.3671, allocations: 7.906 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.3676, allocations: 186.4 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3676, allocations: 4 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3676, allocations: 0 / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3676, allocations: 0 / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.3683, allocations: 454.3 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3683, allocations: 4 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.3684, allocations: 19.92 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3684, allocations: 3.984 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3684, allocations: 4 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3684, allocations: 7.938 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3684, allocations: 3.938 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.3689, allocations: 251.4 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.3689, allocations: 81.02 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.369, allocations: 8 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3691, allocations: 11.98 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/0.3692, allocations: 23.84 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.3692, allocations: 4 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.369e-05/0.3693, allocations: 99.27 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3693, allocations: 4 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002921/0.3696, allocations: 36.06 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (zeroCrossing.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul1.y,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,triggeredSampler.y) * Number of discrete states: 3 (zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.0001725/0.3698, allocations: 107.2 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005724/0.3703, allocations: 235.2 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3703, allocations: 4.25 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.3706, allocations: 71.89 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3709, allocations: 15.98 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.3714, allocations: 226.9 kB / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.3716, allocations: 0.7001 MB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.579e-05/0.3717, allocations: 8.547 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.3717, allocations: 19.44 kB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3717, allocations: 0 / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of Templates: time 0.004621/0.3764, allocations: 1.803 MB / 1.078 GB, free: 15.84 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)