Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 108 kB / 15.61 MB, free: 152 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.001537/0.001537, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001809, allocations: 63.28 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.464/0.4659, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002343/0.4683, allocations: 0.7473 MB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.4699, allocations: 1.149 MB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.47, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.47, allocations: 3.938 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.946e-05/0.4701, allocations: 11.88 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.4706, allocations: 134.7 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.4708, allocations: 123.8 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.4709, allocations: 19.97 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.758e-05/0.471, allocations: 43.91 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.749e-05/0.4711, allocations: 47.81 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.4712, allocations: 8 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.189e-05/0.4712, allocations: 27.92 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.4713, allocations: 8 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.404e-05/0.4714, allocations: 39.84 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.4716, allocations: 115.7 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4716, allocations: 8 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4716, allocations: 0 / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.4716, allocations: 4 kB / 1.071 GB, free: 7.906 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006213/0.4722, allocations: 409.2 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4723, allocations: 8.031 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.4723, allocations: 8.844 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.4725, allocations: 164.4 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.4725, allocations: 12.31 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.4725, allocations: 12.38 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.4727, allocations: 66.2 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4727, allocations: 4.125 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4728, allocations: 3.938 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.4728, allocations: 4 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.473, allocations: 39.95 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.4735, allocations: 344.5 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.4737, allocations: 66.48 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.4738, allocations: 32.97 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.4738, allocations: 4 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000274/0.4741, allocations: 87.36 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.4741, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004573/0.4746, allocations: 141.5 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.4747, allocations: 55.41 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4748, allocations: 117.8 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.4748, allocations: 33.7 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.4749, allocations: 92.12 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.4749, allocations: 15.88 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.475, allocations: 37.7 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4751, allocations: 318.8 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.4753, allocations: 55.95 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.4755, allocations: 87.27 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.4758, allocations: 145.8 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4758, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004392/0.4762, allocations: 207.1 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.4763, allocations: 37.7 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4763, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4763, allocations: 4 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/0.4764, allocations: 16.11 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4764, allocations: 3.938 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.4767, allocations: 43.8 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.4767, allocations: 8 kB / 1.073 GB, free: 4.996 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001142/0.4768, allocations: 121.8 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.4768, allocations: 7.906 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.4769, allocations: 20.31 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4769, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4769, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4769, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.4774, allocations: 374.4 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.4774, allocations: 12 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.4775, allocations: 7.984 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4775, allocations: 4 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4775, allocations: 4 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.4775, allocations: 4 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4775, allocations: 0 / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.4778, allocations: 211.7 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.4779, allocations: 81.02 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.4779, allocations: 8 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.478, allocations: 11.98 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.4781, allocations: 7.984 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.4781, allocations: 3.938 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.067e-05/0.4782, allocations: 91.81 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4782, allocations: 0 / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002652/0.4784, allocations: 24 kB / 1.074 GB, free: 3.922 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002227/0.4787, allocations: 104.1 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004093/0.4791, allocations: 187.3 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.4791, allocations: 4 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.4792, allocations: 43.91 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.4795, allocations: 15.92 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.48, allocations: 159 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.4803, allocations: 0.6885 MB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.416e-05/0.4803, allocations: 7.781 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.4804, allocations: 15.44 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of SimCode: time 2.114e-06/0.4804, allocations: 0 / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of Templates: time 0.00432/0.4847, allocations: 1.453 MB / 1.077 GB, free: 1.195 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)