Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, 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.001324/0.001324, allocations: 200.1 kB / 16.54 MB, free: 6.672 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.505/1.505, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.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.001397/0.001398, allocations: 72.27 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2376, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002173/0.2398, allocations: 0.671 MB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.2413, allocations: 1.164 MB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.2414, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.2415, allocations: 7.938 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.877e-05/0.2415, allocations: 7.922 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.242, allocations: 138.5 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.2422, allocations: 143.8 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2423, allocations: 15.92 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.986e-05/0.2424, allocations: 59.89 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.2425, allocations: 47.81 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.2426, allocations: 12 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.749e-05/0.2427, allocations: 31.97 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.2427, allocations: 15.98 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.2428, allocations: 55.81 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.243, allocations: 135.9 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.243, allocations: 4 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.243, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.2431, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006633/0.2437, allocations: 420.9 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2438, allocations: 8.031 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.2438, allocations: 38.73 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.2439, allocations: 12.88 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.2443, allocations: 212.4 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.2444, allocations: 12.36 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.2444, allocations: 12.38 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.2446, allocations: 89.94 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2446, allocations: 0 / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.2446, allocations: 0 / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2446, allocations: 0 / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.2447, allocations: 43.91 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.2453, allocations: 364.6 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.2454, allocations: 86.55 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.2455, allocations: 40.84 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.2455, allocations: 96 / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.2458, allocations: 131.2 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.2458, allocations: 0 / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0003606/0.2461, allocations: 208.3 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.2462, allocations: 59.41 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.683e-05/0.2463, allocations: 113.8 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.2464, allocations: 33.7 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.2464, allocations: 93.2 kB / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.2465, allocations: 31.75 kB / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/0.2466, allocations: 49.69 kB / 0.7879 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2467, allocations: 318.8 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.2468, allocations: 51.97 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.2469, allocations: 86.92 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.2471, allocations: 137.9 kB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2471, allocations: 0 / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003474/0.2475, allocations: 211.1 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.2475, allocations: 37.64 kB / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2476, allocations: 4.125 kB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2476, allocations: 0 / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.2477, allocations: 11.98 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.2477, allocations: 7.938 kB / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.248, allocations: 43.75 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.2481, allocations: 8 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001492/0.2482, allocations: 134.4 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.2483, allocations: 4 kB / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.2483, allocations: 8.5 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2483, allocations: 4 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2483, allocations: 0 / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2483, allocations: 3.984 kB / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005856/0.2489, allocations: 442.3 kB / 0.7893 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.249, allocations: 0 / 0.7893 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.249, allocations: 4 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.249, allocations: 4 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/0.249, allocations: 4 kB / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2491, allocations: 3.984 kB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2491, allocations: 0 / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.2495, allocations: 263 kB / 0.7896 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.2496, allocations: 92.94 kB / 0.7897 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.2496, allocations: 7.984 kB / 0.7897 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.2497, allocations: 4 kB / 0.7897 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.2498, allocations: 27.91 kB / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.2499, allocations: 4 kB / 0.7897 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.2499, allocations: 91.27 kB / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2499, allocations: 0 / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000452/0.2504, allocations: 28 kB / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007682/0.2512, allocations: 0.8084 MB / 0.7906 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004429/0.2516, allocations: 191.3 kB / 0.7908 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2516, allocations: 0 / 0.7908 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.2518, allocations: 71.91 kB / 0.7909 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.2523, allocations: 26.44 kB / 0.7909 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.2549, allocations: 1.703 MB / 0.7926 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.2552, allocations: 0.6885 MB / 0.7933 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.172e-05/0.2552, allocations: 8.547 kB / 0.7933 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.2553, allocations: 27.42 kB / 0.7933 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.2553, allocations: 0 / 0.7933 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.2746, allocations: 2.758 MB / 0.796 GB, free: 124 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.29, allocations: 8.531 kB / 0.796 GB, free: 116 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.csv --start-time -10 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)