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.001215/0.001215, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 193.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.641/1.641, allocations: 251.7 MB / 0.5092 GB, free: 3.137 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.001623/0.001624, allocations: 71.91 kB / 0.6223 GB, free: 1.496 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7915/0.7931, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.003589/0.7968, allocations: 1.534 MB / 0.726 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006989/0.7975, allocations: 284 kB / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.7976, allocations: 3.938 kB / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.35e-05/0.7976, allocations: 3.938 kB / 0.7263 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.7978, allocations: 19.84 kB / 0.7263 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.798, allocations: 47.78 kB / 0.7264 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.7982, allocations: 91.81 kB / 0.7265 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.7984, allocations: 24.16 kB / 0.7265 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.378e-05/0.7985, allocations: 39.86 kB / 0.7265 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.7986, allocations: 39.81 kB / 0.7266 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.7986, allocations: 8 kB / 0.7266 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.954e-05/0.7986, allocations: 8 kB / 0.7266 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.7987, allocations: 27.92 kB / 0.7266 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.7988, allocations: 43.78 kB / 0.7266 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.7989, allocations: 85.64 kB / 0.7267 GB, free: 10.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7989, allocations: 0 / 0.7267 GB, free: 10.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.635e-06/0.799, allocations: 0 / 0.7267 GB, free: 10.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.799, allocations: 0 / 0.7267 GB, free: 10.68 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.000909/0.7999, allocations: 419.1 kB / 0.7271 GB, free: 10.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.7999, allocations: 8.031 kB / 0.7271 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.8, allocations: 12.84 kB / 0.7271 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.8002, allocations: 180.2 kB / 0.7273 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.8002, allocations: 4.375 kB / 0.7273 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.8002, allocations: 12.31 kB / 0.7273 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.8005, allocations: 94.94 kB / 0.7274 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.8006, allocations: 192 / 0.7274 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.8006, allocations: 7.938 kB / 0.7274 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.8006, allocations: 0 / 0.7274 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003513/0.801, allocations: 91.91 kB / 0.7275 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007/0.8017, allocations: 360.6 kB / 0.7279 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/0.8022, allocations: 134.6 kB / 0.728 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.8024, allocations: 52.83 kB / 0.728 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.8025, allocations: 11.92 kB / 0.7281 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004674/0.8029, allocations: 103.3 kB / 0.7282 GB, free: 9.047 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.803, allocations: 0 / 0.7282 GB, free: 9.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007618/0.8037, allocations: 197.4 kB / 0.7283 GB, free: 8.848 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/0.8038, allocations: 55.41 kB / 0.7284 GB, free: 8.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.804, allocations: 132.7 kB / 0.7285 GB, free: 8.645 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.804, allocations: 29.64 kB / 0.7285 GB, free: 8.609 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.8042, allocations: 100.1 kB / 0.7286 GB, free: 8.508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.8042, allocations: 27.61 kB / 0.7287 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.8043, allocations: 41.7 kB / 0.7287 GB, free: 8.434 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002317/0.8046, allocations: 326.8 kB / 0.729 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.8048, allocations: 51.95 kB / 0.7291 GB, free: 8.055 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.805, allocations: 79.33 kB / 0.7291 GB, free: 7.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.8054, allocations: 135.2 kB / 0.7293 GB, free: 7.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.8054, allocations: 0 / 0.7293 GB, free: 7.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004533/0.8059, allocations: 173.8 kB / 0.7294 GB, free: 7.645 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.8059, allocations: 4 kB / 0.7294 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.8059, allocations: 0 / 0.7294 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/0.806, allocations: 7.984 kB / 0.7295 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.8061, allocations: 23.92 kB / 0.7295 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.8061, allocations: 3.984 kB / 0.7295 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.8063, allocations: 24.08 kB / 0.7295 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.8063, allocations: 4 kB / 0.7295 GB, free: 7.578 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,zeroCrossing.u_pos,$PRE.zeroCrossing.u_pos,zeroCrossing.disable,$PRE.zeroCrossing.disable,zeroCrossing.enable,$PRE.zeroCrossing.enable,zeroCrossing.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.8065, allocations: 117.8 kB / 0.7296 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.8065, allocations: 15.89 kB / 0.7296 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005426/0.8071, allocations: 169.9 kB / 0.7298 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8071, allocations: 0 / 0.7298 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.8071, allocations: 0 / 0.7298 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.8071, allocations: 7.984 kB / 0.7298 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009957/0.8081, allocations: 434.2 kB / 0.7302 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.8082, allocations: 7.938 kB / 0.7302 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.8083, allocations: 23.97 kB / 0.7302 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8083, allocations: 0 / 0.7302 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.8083, allocations: 4 kB / 0.7303 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.8083, allocations: 0 / 0.7303 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.8083, allocations: 3.938 kB / 0.7303 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.8089, allocations: 251.3 kB / 0.7305 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.809, allocations: 85.02 kB / 0.7306 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.8091, allocations: 0 / 0.7306 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.8092, allocations: 19.97 kB / 0.7306 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.8093, allocations: 19.92 kB / 0.7306 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.8094, allocations: 4 kB / 0.7306 GB, free: 6.332 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.084e-05/0.8094, allocations: 95.39 kB / 0.7307 GB, free: 6.238 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.278e-06/0.8095, allocations: 4 kB / 0.7307 GB, free: 6.234 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002699/0.8097, allocations: 31.92 kB / 0.7307 GB, free: 6.203 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 (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.0002679/0.81, allocations: 103.2 kB / 0.7308 GB, free: 6.094 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004933/0.8105, allocations: 123.8 kB / 0.731 GB, free: 5.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.8106, allocations: 4.188 kB / 0.731 GB, free: 5.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.8108, allocations: 67.89 kB / 0.731 GB, free: 5.902 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.8111, allocations: 23.19 kB / 0.7311 GB, free: 5.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.8118, allocations: 210.8 kB / 0.7313 GB, free: 5.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.8122, allocations: 0.6962 MB / 0.7319 GB, free: 4.926 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.745e-05/0.8123, allocations: 8.547 kB / 0.7319 GB, free: 4.918 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.8124, allocations: 23.44 kB / 0.732 GB, free: 4.895 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.8124, allocations: 0 / 0.732 GB, free: 4.895 MB / 0.545 GB Notification: Performance of Templates: time 0.004974/0.8174, allocations: 1.409 MB / 0.7333 GB, free: 3.5 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (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)