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.00104/0.00104, allocations: 109.4 kB / 15.69 MB, free: 128 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.0011/0.0011, allocations: 188.1 kB / 16.62 MB, free: 6.582 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.404/1.404, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.711/1.711, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001509/0.001509, allocations: 77.94 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2466, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002044/0.2487, allocations: 0.6774 MB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.2502, allocations: 1.16 MB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.2502, allocations: 4 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.2503, allocations: 3.938 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.116e-05/0.2504, allocations: 7.875 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.2509, allocations: 146.8 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000192/0.2511, allocations: 147.8 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2512, allocations: 7.984 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.605e-05/0.2513, allocations: 59.84 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.2514, allocations: 55.8 kB / 0.7859 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.2514, allocations: 20 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.2515, allocations: 23.98 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.039e-05/0.2515, allocations: 23.97 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.2516, allocations: 55.83 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.2518, allocations: 127.9 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2518, allocations: 3.938 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2518, allocations: 0 / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.2519, allocations: 0 / 0.7861 GB, free: 10.72 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.0006161/0.2525, allocations: 421 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2525, allocations: 16.03 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.2526, allocations: 34.75 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.2526, allocations: 12.92 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.253, allocations: 208.4 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.253, allocations: 8.375 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.2531, allocations: 12.36 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.2532, allocations: 89.89 kB / 0.7869 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.2533, allocations: 0 / 0.7869 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.2533, allocations: 7.984 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2533, allocations: 4 kB / 0.7869 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.503e-05/0.2534, allocations: 39.97 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.2539, allocations: 352.6 kB / 0.7873 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.2541, allocations: 94.53 kB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.2542, allocations: 44.83 kB / 0.7874 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.148e-06/0.2542, allocations: 4 kB / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002923/0.2545, allocations: 130.6 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.2545, allocations: 0 / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.000377/0.2549, allocations: 201.6 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.2549, allocations: 59.56 kB / 0.7878 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.255, allocations: 113.8 kB / 0.7879 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.2551, allocations: 33.7 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.2551, allocations: 89.2 kB / 0.788 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.2552, allocations: 27.61 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.44e-05/0.2553, allocations: 45.7 kB / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2554, allocations: 330.7 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.2555, allocations: 47.97 kB / 0.7884 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.2556, allocations: 88.27 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.2558, allocations: 133.9 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2558, allocations: 3.938 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003088/0.2561, allocations: 211.2 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.2562, allocations: 37.69 kB / 0.7889 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2562, allocations: 0 / 0.7889 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2562, allocations: 4 kB / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.2563, allocations: 15.94 kB / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2563, allocations: 0 / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.2565, allocations: 39.92 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.2565, allocations: 16 kB / 0.7889 GB, free: 7.52 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.0001081/0.2566, allocations: 126.4 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.2567, allocations: 11.98 kB / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.2567, allocations: 16.5 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2567, allocations: 0 / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2567, allocations: 0 / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2567, allocations: 0 / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.2571, allocations: 437.1 kB / 0.7895 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2571, allocations: 0 / 0.7895 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.2572, allocations: 11.92 kB / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2572, allocations: 4 kB / 0.7895 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2572, allocations: 0 / 0.7895 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2572, allocations: 0 / 0.7895 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.2572, allocations: 0 / 0.7895 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.2575, allocations: 259.4 kB / 0.7898 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.2575, allocations: 96.95 kB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.2575, allocations: 4 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.2576, allocations: 7.984 kB / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.2577, allocations: 15.92 kB / 0.7899 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.2577, allocations: 7.984 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.2577, allocations: 91.53 kB / 0.79 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2577, allocations: 0 / 0.79 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000262/0.258, allocations: 35.98 kB / 0.79 GB, free: 6.32 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.0005681/0.2586, allocations: 0.8045 MB / 0.7908 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002906/0.2589, allocations: 198.7 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2589, allocations: 0 / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.615e-05/0.259, allocations: 67.97 kB / 0.7911 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.2593, allocations: 28.44 kB / 0.7911 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.261, allocations: 1.705 MB / 0.7928 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.2613, allocations: 0.6963 MB / 0.7934 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.704e-05/0.2613, allocations: 4.562 kB / 0.7934 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.2614, allocations: 27.42 kB / 0.7935 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2614, allocations: 0 / 0.7935 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.2811, allocations: 2.759 MB / 0.7962 GB, free: 12 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/7.812, allocations: 18.06 kB / 0.7962 GB, free: 0 / 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)