Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",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.001262/0.001262, 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.001095/0.001095, allocations: 198.4 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.374/1.374, 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.718/1.718, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001593/0.001593, allocations: 68.64 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2526, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.0031/0.2558, allocations: 1.476 MB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008361/0.2566, allocations: 484.8 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.2567, allocations: 4 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.2568, allocations: 3.938 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.603e-05/0.2569, allocations: 7.922 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.2571, allocations: 23.92 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.909e-05/0.2572, allocations: 55.83 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2573, allocations: 12 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.106e-05/0.2574, allocations: 27.86 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.867e-05/0.2574, allocations: 19.92 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.2574, allocations: 4 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.2575, allocations: 4 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.2575, allocations: 11.98 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.2576, allocations: 27.84 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.2577, allocations: 44.09 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2577, allocations: 0 / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2577, allocations: 0 / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.2577, allocations: 0 / 0.7856 GB, free: 11.16 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005264/0.2582, allocations: 363.5 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2583, allocations: 8.031 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.2583, allocations: 42.67 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.2584, allocations: 8.844 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.2585, allocations: 172.3 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.2585, allocations: 4.375 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.2586, allocations: 4.375 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.2587, allocations: 61.8 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2587, allocations: 0 / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.2587, allocations: 4 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.2587, allocations: 0 / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.2588, allocations: 35.86 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.2593, allocations: 296.7 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.2594, allocations: 54.56 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.2595, allocations: 29.05 kB / 0.7866 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.2595, allocations: 3.938 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.2597, allocations: 75.36 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2597, allocations: 0 / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002188/0.2599, allocations: 97.53 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.2599, allocations: 59.39 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.26, allocations: 101.9 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.2601, allocations: 37.69 kB / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.2601, allocations: 80.14 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.2601, allocations: 23.66 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.2602, allocations: 30.08 kB / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.2603, allocations: 322.8 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.428e-05/0.2603, allocations: 15.98 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.588e-05/0.2604, allocations: 51.36 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.042e-05/0.2605, allocations: 71.5 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2605, allocations: 0 / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001385/0.2606, allocations: 97.5 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2607, allocations: 8 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2607, allocations: 0 / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2607, allocations: 4 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.2608, allocations: 16.02 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.2608, allocations: 0 / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.2609, allocations: 11.94 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2609, allocations: 7.938 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 8.543e-05/0.261, allocations: 123.5 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.261, allocations: 7.906 kB / 0.7878 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.261, allocations: 11.91 kB / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.261, allocations: 0 / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.261, allocations: 0 / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2611, allocations: 4 kB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.2615, allocations: 362.4 kB / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2615, allocations: 0 / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.2615, allocations: 8 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.2615, allocations: 3.984 kB / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.2615, allocations: 3.938 kB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2615, allocations: 3.938 kB / 0.7882 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2615, allocations: 0 / 0.7882 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.2617, allocations: 187.4 kB / 0.7884 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.2617, allocations: 81.09 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.2618, allocations: 0 / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.2619, allocations: 7.938 kB / 0.7885 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.2619, allocations: 11.98 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.2619, allocations: 4.188 kB / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.262, allocations: 83.27 kB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.262, allocations: 7.938 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002375/0.2622, allocations: 16 kB / 0.7886 GB, free: 7.746 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004478/0.2627, allocations: 0.7085 MB / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.2628, allocations: 55.98 kB / 0.7893 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2628, allocations: 4.062 kB / 0.7893 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.463e-05/0.2629, allocations: 35.92 kB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.2632, allocations: 11.92 kB / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.2644, allocations: 1.358 MB / 0.7907 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.2646, allocations: 0.6807 MB / 0.7914 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.012e-05/0.2647, allocations: 7.984 kB / 0.7914 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.2647, allocations: 19.44 kB / 0.7914 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2647, allocations: 4 kB / 0.7914 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.2837, allocations: 1.732 MB / 0.7931 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.842, allocations: 12.56 kB / 0.7931 GB, free: 3.059 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)