Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001437/0.001437, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.569/1.569, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.105/3.105, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001335, allocations: 61.58 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4484, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002394/0.4508, allocations: 0.8105 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.4526, allocations: 1.166 MB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.4526, allocations: 0 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.4527, allocations: 0 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.382e-05/0.4528, allocations: 11.86 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.4533, allocations: 123.2 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.4534, allocations: 103.8 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.4535, allocations: 19.97 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.523e-05/0.4536, allocations: 47.78 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/0.4537, allocations: 39.89 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.4538, allocations: 4 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.025e-05/0.4538, allocations: 19.98 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.928e-05/0.4539, allocations: 15.91 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.155e-05/0.454, allocations: 39.84 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.4542, allocations: 95.75 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4542, allocations: 4 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4542, allocations: 0 / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.4542, allocations: 0 / 1.07 GB, free: 8.402 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.0007565/0.455, allocations: 417.2 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.455, allocations: 8.031 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.4551, allocations: 12.84 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.4552, allocations: 168.3 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.4552, allocations: 8.359 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.4553, allocations: 8.375 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.4555, allocations: 70.14 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.4555, allocations: 4.188 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.4555, allocations: 7.938 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4556, allocations: 0 / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.4558, allocations: 43.95 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.4564, allocations: 324.7 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.4566, allocations: 66.48 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.4567, allocations: 36.95 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.4567, allocations: 4 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.4569, allocations: 87.36 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.4569, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004795/0.4574, allocations: 145.5 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.4575, allocations: 55.41 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.4576, allocations: 117.8 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.4576, allocations: 29.7 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.4577, allocations: 92.14 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.4577, allocations: 19.8 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.582e-05/0.4578, allocations: 33.7 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4579, allocations: 318.8 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.4581, allocations: 51.95 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.4583, allocations: 92.25 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.4587, allocations: 142.1 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.4587, allocations: 7.938 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004829/0.4592, allocations: 215.1 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.293e-05/0.4592, allocations: 37.69 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4593, allocations: 3.938 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4593, allocations: 4 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.4594, allocations: 19.92 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4594, allocations: 0 / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.4597, allocations: 39.94 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.4597, allocations: 11.98 kB / 1.073 GB, free: 5.473 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,change.y,change.u,$PRE.change.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.0001317/0.4599, allocations: 125.8 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.4599, allocations: 3.906 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.4599, allocations: 12.38 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.4599, allocations: 3.984 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.4599, allocations: 4.062 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.46, allocations: 4 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.4605, allocations: 374.4 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4605, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.4606, allocations: 7.984 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4606, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.4606, allocations: 4 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4606, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4606, allocations: 4 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.4609, allocations: 211.3 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.461, allocations: 89 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.461, allocations: 0 / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.4611, allocations: 4 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.4612, allocations: 15.98 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.4612, allocations: 3.938 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.406e-05/0.4612, allocations: 95.75 kB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4612, allocations: 0 / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002554/0.4615, allocations: 24 kB / 1.073 GB, free: 4.406 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.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.0001981/0.4617, allocations: 107.2 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.4621, allocations: 179.3 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4621, allocations: 0 / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.4623, allocations: 39.91 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.4626, allocations: 21.31 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.4629, allocations: 171 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.4633, allocations: 0.6926 MB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.544e-05/0.4633, allocations: 7.781 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.4633, allocations: 11.44 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4633, allocations: 0 / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of Templates: time 0.004154/0.4675, allocations: 1.332 MB / 1.076 GB, free: 1.801 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)