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.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001345/0.001345, allocations: 195.9 kB / 16.14 MB, free: 6.656 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 60.48 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3476, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.002729/0.3503, allocations: 0.9004 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.3522, allocations: 1.205 MB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.3523, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.457e-05/0.3524, allocations: 11.92 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3525, allocations: 15.86 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.3532, allocations: 133.2 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.3534, allocations: 139.7 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3536, allocations: 24.22 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.3537, allocations: 55.83 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3539, allocations: 63.73 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.3539, allocations: 8 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.903e-05/0.354, allocations: 15.98 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.354, allocations: 19.92 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.644e-05/0.3541, allocations: 51.77 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.3544, allocations: 139.9 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3544, allocations: 0 / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3544, allocations: 0 / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3544, allocations: 0 / 1.07 GB, free: 8.137 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.000773/0.3552, allocations: 444.9 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3552, allocations: 12.03 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.843e-05/0.3553, allocations: 16.75 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3554, allocations: 180.2 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3555, allocations: 4.375 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.3555, allocations: 12.38 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.3558, allocations: 102.2 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3558, allocations: 192 / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.3559, allocations: 11.92 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3559, allocations: 0 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.3562, allocations: 87.91 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/0.3569, allocations: 380.6 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.3571, allocations: 102.5 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.3573, allocations: 64.81 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3574, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.3577, allocations: 123.2 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.973e-06/0.3577, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006972/0.3584, allocations: 213.4 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3585, allocations: 55.39 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3586, allocations: 121.8 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.3586, allocations: 33.7 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.3587, allocations: 100 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.3587, allocations: 31.64 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/0.3588, allocations: 49.64 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3589, allocations: 322.8 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.3592, allocations: 79.94 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.3595, allocations: 117.9 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.3599, allocations: 184.9 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3599, allocations: 0 / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006401/0.3605, allocations: 267.4 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.3606, allocations: 37.69 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3606, allocations: 0 / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.3606, allocations: 8.125 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.3608, allocations: 19.92 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.3608, allocations: 4 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.3611, allocations: 43.94 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.3611, allocations: 8 kB / 1.073 GB, free: 4.688 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.0001221/0.3612, allocations: 133.7 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.3612, allocations: 11.91 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.3617, allocations: 177.9 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.3617, allocations: 0 / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3617, allocations: 0 / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3617, allocations: 7.984 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.3624, allocations: 450.2 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3624, allocations: 4 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3625, allocations: 15.97 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.3625, allocations: 4 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.3626, allocations: 7.938 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3626, allocations: 0 / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3626, allocations: 7.938 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.363, allocations: 251.3 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.3631, allocations: 92.95 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.3631, allocations: 3.984 kB / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.3632, allocations: 15.98 kB / 1.074 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.3633, allocations: 23.91 kB / 1.074 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.3633, allocations: 0 / 1.074 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.159e-05/0.3634, allocations: 103.4 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3634, allocations: 0 / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002845/0.3637, allocations: 35.94 kB / 1.075 GB, free: 3.262 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.0001559/0.3639, allocations: 103.2 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005727/0.3644, allocations: 235.2 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3645, allocations: 0 / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.3647, allocations: 67.89 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.365, allocations: 20.8 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/0.3655, allocations: 228.7 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.3657, allocations: 0.7004 MB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.18e-05/0.3658, allocations: 12.55 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.3659, allocations: 15.42 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.3659, allocations: 0 / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of Templates: time 0.004938/0.3708, allocations: 1.733 MB / 1.078 GB, free: 112 kB / 0.8262 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)