Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.00155/0.00155, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001768/0.001768, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.688/1.688, allocations: 251.9 MB / 0.51 GB, free: 4.797 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000583/0.000583, allocations: 16 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5981/0.5987, allocations: 106.3 MB / 0.728 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.001541/0.6003, allocations: 1.226 MB / 0.7292 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004889/0.6008, allocations: 268.1 kB / 0.7294 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.6009, allocations: 4 kB / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.6009, allocations: 3.938 kB / 0.7294 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.741e-05/0.601, allocations: 15.95 kB / 0.7295 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.6012, allocations: 31.91 kB / 0.7295 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.293e-05/0.6013, allocations: 55.86 kB / 0.7295 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.6014, allocations: 24.2 kB / 0.7296 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.6014, allocations: 31.86 kB / 0.7296 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.6015, allocations: 39.81 kB / 0.7296 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.6015, allocations: 4 kB / 0.7296 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/0.6016, allocations: 4 kB / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.6016, allocations: 11.98 kB / 0.7297 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.6016, allocations: 37.64 kB / 0.7297 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.575e-05/0.6017, allocations: 69.81 kB / 0.7298 GB, free: 9.645 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6018, allocations: 0 / 0.7298 GB, free: 9.645 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6018, allocations: 0 / 0.7298 GB, free: 9.645 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.6018, allocations: 0 / 0.7298 GB, free: 9.645 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000658/0.6024, allocations: 414 kB / 0.7302 GB, free: 9.195 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.6025, allocations: 12.03 kB / 0.7302 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.6025, allocations: 7.906 kB / 0.7302 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.6027, allocations: 186.9 kB / 0.7303 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.6027, allocations: 4 kB / 0.7304 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.6027, allocations: 8 kB / 0.7304 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.603, allocations: 105.6 kB / 0.7305 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.603, allocations: 3.938 kB / 0.7305 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.603, allocations: 4 kB / 0.7305 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.603, allocations: 4 kB / 0.7305 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.6034, allocations: 111.9 kB / 0.7306 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.604, allocations: 364.6 kB / 0.7309 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.6045, allocations: 162.5 kB / 0.7311 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.6045, allocations: 4.125 kB / 0.7311 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003168/0.6049, allocations: 119.3 kB / 0.7312 GB, free: 8.004 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.6049, allocations: 0 / 0.7312 GB, free: 8.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0006665/0.6056, allocations: 233.4 kB / 0.7314 GB, free: 7.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.6056, allocations: 59.36 kB / 0.7315 GB, free: 7.699 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.6057, allocations: 128 kB / 0.7316 GB, free: 7.566 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.6057, allocations: 37.64 kB / 0.7316 GB, free: 7.523 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.6058, allocations: 96.12 kB / 0.7317 GB, free: 7.426 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.6059, allocations: 27.56 kB / 0.7318 GB, free: 7.398 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.6059, allocations: 4 kB / 0.7318 GB, free: 7.395 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.606, allocations: 322.8 kB / 0.7321 GB, free: 7.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.6062, allocations: 63.95 kB / 0.7321 GB, free: 7.008 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.6064, allocations: 98.75 kB / 0.7322 GB, free: 6.902 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.6066, allocations: 64.34 kB / 0.7323 GB, free: 6.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6066, allocations: 0 / 0.7323 GB, free: 6.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000446/0.6071, allocations: 189.5 kB / 0.7325 GB, free: 6.648 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.6071, allocations: 8 kB / 0.7325 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.6071, allocations: 3.938 kB / 0.7325 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6071, allocations: 4 kB / 0.7325 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.6072, allocations: 31.97 kB / 0.7325 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6073, allocations: 3.953 kB / 0.7325 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.6074, allocations: 35.94 kB / 0.7325 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.6074, allocations: 4 kB / 0.7326 GB, free: 6.559 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul1.pulseStart,booPul1.pulseStart,zeroCrossing.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001107/0.6075, allocations: 125.8 kB / 0.7327 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.6076, allocations: 7.906 kB / 0.7327 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.608, allocations: 181.9 kB / 0.7329 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.608, allocations: 8 kB / 0.7329 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.608, allocations: 0 / 0.7329 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.6081, allocations: 7.891 kB / 0.7329 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006609/0.6087, allocations: 462.3 kB / 0.7333 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6087, allocations: 0 / 0.7333 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.6088, allocations: 19.98 kB / 0.7333 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6089, allocations: 0 / 0.7333 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.6089, allocations: 4 kB / 0.7333 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6089, allocations: 3.953 kB / 0.7333 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.6089, allocations: 4 kB / 0.7333 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.6093, allocations: 271.2 kB / 0.7336 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.6094, allocations: 84.95 kB / 0.7337 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.6094, allocations: 8 kB / 0.7337 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.6096, allocations: 27.97 kB / 0.7337 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.6096, allocations: 31.84 kB / 0.7337 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.6097, allocations: 0 / 0.7337 GB, free: 5.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.372e-05/0.6097, allocations: 99.27 kB / 0.7338 GB, free: 5.133 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6097, allocations: 0 / 0.7338 GB, free: 5.133 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002355/0.61, allocations: 16 kB / 0.7339 GB, free: 5.117 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (zeroCrossing.y,$whenCondition2,$whenCondition1,booPul1.pulseStart,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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001377/0.6101, allocations: 103.2 kB / 0.734 GB, free: 5.008 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004381/0.6105, allocations: 155.8 kB / 0.7341 GB, free: 4.855 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6106, allocations: 0 / 0.7341 GB, free: 4.855 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.6108, allocations: 76.55 kB / 0.7342 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.611, allocations: 16.23 kB / 0.7342 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.6115, allocations: 235.7 kB / 0.7344 GB, free: 4.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.6117, allocations: 0.7004 MB / 0.7351 GB, free: 3.773 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.694e-05/0.6118, allocations: 8.562 kB / 0.7351 GB, free: 3.766 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.6118, allocations: 19.36 kB / 0.7351 GB, free: 3.746 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.6118, allocations: 0 / 0.7351 GB, free: 3.746 MB / 0.545 GB Notification: Performance of Templates: time 0.003281/0.6151, allocations: 1.116 MB / 0.7362 GB, free: 2.641 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1) Environment - environmentSimulation: