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.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 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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001092/0.001092, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001126/0.001126, allocations: 168.7 kB / 15.95 MB, free: 204 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.865/1.865, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.542/1.542, allocations: 252 MB / 0.5102 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.0005864/0.0005868, allocations: 15.59 kB / 0.6243 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.6477, allocations: 106.3 MB / 0.7281 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001824/0.6496, allocations: 1.176 MB / 0.7293 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004812/0.6501, allocations: 212.3 kB / 0.7295 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.6502, allocations: 3.938 kB / 0.7295 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.6502, allocations: 7.984 kB / 0.7295 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.922e-05/0.6503, allocations: 7.922 kB / 0.7295 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.6505, allocations: 15.98 kB / 0.7295 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.321e-05/0.6506, allocations: 59.78 kB / 0.7296 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.6507, allocations: 8 kB / 0.7296 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.431e-05/0.6508, allocations: 19.92 kB / 0.7296 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.6508, allocations: 23.91 kB / 0.7296 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.6508, allocations: 0 / 0.7296 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.6509, allocations: 8 kB / 0.7296 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.6509, allocations: 7.922 kB / 0.7297 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.6509, allocations: 33.7 kB / 0.7297 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.334e-05/0.651, allocations: 39.91 kB / 0.7297 GB, free: 9.734 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.651, allocations: 0 / 0.7297 GB, free: 9.734 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/0.651, allocations: 4 kB / 0.7297 GB, free: 9.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.676e-06/0.6511, allocations: 0 / 0.7297 GB, free: 9.73 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005741/0.6516, allocations: 377.1 kB / 0.7301 GB, free: 9.316 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.6517, allocations: 11.97 kB / 0.7301 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.6517, allocations: 11.89 kB / 0.7301 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.6519, allocations: 171 kB / 0.7303 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.6519, allocations: 8 kB / 0.7303 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.6519, allocations: 3.938 kB / 0.7303 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.6521, allocations: 77.64 kB / 0.7304 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.6521, allocations: 0 / 0.7304 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.6521, allocations: 0 / 0.7304 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.6522, allocations: 4 kB / 0.7304 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.6523, allocations: 55.89 kB / 0.7304 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.6529, allocations: 308.7 kB / 0.7307 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.6532, allocations: 122.5 kB / 0.7308 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.847e-05/0.6534, allocations: 40.95 kB / 0.7309 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.6534, allocations: 0 / 0.7309 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.6536, allocations: 83.31 kB / 0.7309 GB, free: 8.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.6536, allocations: 0 / 0.7309 GB, free: 8.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004196/0.6541, allocations: 149.6 kB / 0.7311 GB, free: 8.164 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.6541, allocations: 55.36 kB / 0.7311 GB, free: 8.098 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.331e-05/0.6542, allocations: 126 kB / 0.7313 GB, free: 7.961 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.6543, allocations: 29.64 kB / 0.7313 GB, free: 7.926 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.6543, allocations: 92.14 kB / 0.7314 GB, free: 7.832 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.6543, allocations: 11.75 kB / 0.7314 GB, free: 7.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.6544, allocations: 4 kB / 0.7314 GB, free: 7.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6545, allocations: 318.8 kB / 0.7317 GB, free: 7.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.6546, allocations: 35.98 kB / 0.7317 GB, free: 7.461 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.6547, allocations: 59.41 kB / 0.7318 GB, free: 7.391 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.822e-05/0.6548, allocations: 43.97 kB / 0.7318 GB, free: 7.348 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6548, allocations: 0 / 0.7318 GB, free: 7.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002496/0.6551, allocations: 121.4 kB / 0.7319 GB, free: 7.223 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.6551, allocations: 4 kB / 0.732 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.6551, allocations: 12.72 kB / 0.732 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.6551, allocations: 0 / 0.732 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.6552, allocations: 15.98 kB / 0.732 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6552, allocations: 3.953 kB / 0.732 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.888e-05/0.6553, allocations: 15.98 kB / 0.732 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.6553, allocations: 4 kB / 0.732 GB, free: 7.168 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: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.626e-05/0.6554, allocations: 133.7 kB / 0.7321 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.6554, allocations: 7.906 kB / 0.7321 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.6555, allocations: 8.375 kB / 0.7321 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.6555, allocations: 7.984 kB / 0.7322 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6555, allocations: 0 / 0.7322 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.6555, allocations: 3.953 kB / 0.7322 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.6559, allocations: 366.5 kB / 0.7325 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6559, allocations: 3.984 kB / 0.7325 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.057e-05/0.656, allocations: 11.94 kB / 0.7325 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.656, allocations: 0 / 0.7325 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.656, allocations: 3.938 kB / 0.7325 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.656, allocations: 3.953 kB / 0.7325 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.656, allocations: 3.984 kB / 0.7325 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.6563, allocations: 207.8 kB / 0.7327 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.6564, allocations: 85.02 kB / 0.7328 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.6564, allocations: 7.984 kB / 0.7328 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.6565, allocations: 19.98 kB / 0.7328 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.6565, allocations: 11.94 kB / 0.7328 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.6566, allocations: 0 / 0.7328 GB, free: 6.199 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.978e-05/0.6566, allocations: 91.27 kB / 0.7329 GB, free: 6.109 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6566, allocations: 0 / 0.7329 GB, free: 6.109 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002294/0.6569, allocations: 19.94 kB / 0.733 GB, free: 6.09 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: 6 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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.0001611/0.657, allocations: 107.2 kB / 0.7331 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.6573, allocations: 75.94 kB / 0.7331 GB, free: 5.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6573, allocations: 3.938 kB / 0.7331 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.6574, allocations: 48.16 kB / 0.7332 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.6577, allocations: 15.25 kB / 0.7332 GB, free: 5.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.6581, allocations: 166.7 kB / 0.7334 GB, free: 5.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.6584, allocations: 0.6874 MB / 0.734 GB, free: 4.938 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.6584, allocations: 7.859 kB / 0.734 GB, free: 4.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.6585, allocations: 11.72 kB / 0.734 GB, free: 4.918 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.6585, allocations: 0 / 0.734 GB, free: 4.918 MB / 0.545 GB Notification: Performance of Templates: time 0.002621/0.6611, allocations: 0.7413 MB / 0.7348 GB, free: 4.184 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) Environment - environmentSimulation: