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.0009014/0.0009014, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.0009242/0.0009242, allocations: 177.3 kB / 15.94 MB, free: 228 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.49/1.49, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.688/1.688, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005407/0.0005408, allocations: 14.72 kB / 0.6736 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2504, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001498/0.2519, allocations: 1.18 MB / 0.7884 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000641/0.2526, allocations: 465.3 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.2526, allocations: 4 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.2527, allocations: 3.938 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.628e-05/0.2527, allocations: 7.984 kB / 0.7888 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.2529, allocations: 15.98 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.57e-05/0.2529, allocations: 31.91 kB / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.253, allocations: 11.98 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.2531, allocations: 19.91 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.2532, allocations: 15.92 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.2532, allocations: 7.938 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.2532, allocations: 8 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.2532, allocations: 7.984 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.2533, allocations: 29.7 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.132e-05/0.2533, allocations: 32.17 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.2533, allocations: 0 / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2534, allocations: 0 / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.2534, allocations: 0 / 0.789 GB, free: 10.04 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.0004575/0.2538, allocations: 358 kB / 0.7893 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2539, allocations: 11.97 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.2539, allocations: 38.56 kB / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.2539, allocations: 3.906 kB / 0.7894 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.2541, allocations: 178.9 kB / 0.7896 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2541, allocations: 7.984 kB / 0.7896 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.2541, allocations: 8 kB / 0.7896 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.2542, allocations: 57.61 kB / 0.7896 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.2542, allocations: 0 / 0.7896 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2542, allocations: 0 / 0.7896 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2542, allocations: 4 kB / 0.7896 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.2543, allocations: 27.98 kB / 0.7897 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.2548, allocations: 300.7 kB / 0.79 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.578e-05/0.2549, allocations: 62.59 kB / 0.79 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.2549, allocations: 0 / 0.79 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.255, allocations: 71.59 kB / 0.7901 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.255, allocations: 0 / 0.7901 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002251/0.2553, allocations: 101.8 kB / 0.7902 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.2553, allocations: 63.33 kB / 0.7902 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.272e-05/0.2554, allocations: 109.8 kB / 0.7903 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2554, allocations: 29.7 kB / 0.7904 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.2555, allocations: 88.12 kB / 0.7905 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.2555, allocations: 27.64 kB / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.2555, allocations: 0 / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.2556, allocations: 318.8 kB / 0.7908 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/0.2557, allocations: 16 kB / 0.7908 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.938e-05/0.2557, allocations: 47.42 kB / 0.7909 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.941e-05/0.2558, allocations: 20 kB / 0.7909 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2558, allocations: 0 / 0.7909 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001251/0.2559, allocations: 93.55 kB / 0.791 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2559, allocations: 4 kB / 0.791 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2559, allocations: 0 / 0.791 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.2559, allocations: 4 kB / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.256, allocations: 11.98 kB / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.256, allocations: 7.891 kB / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.2561, allocations: 19.94 kB / 0.791 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.2561, allocations: 4 kB / 0.791 GB, free: 7.75 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.236e-05/0.2562, allocations: 117.8 kB / 0.7911 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.2562, allocations: 7.984 kB / 0.7911 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.2562, allocations: 7.969 kB / 0.7911 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2562, allocations: 288 / 0.7911 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2563, allocations: 0 / 0.7911 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2563, allocations: 4.016 kB / 0.7911 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.2566, allocations: 370.3 kB / 0.7915 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2566, allocations: 4 kB / 0.7915 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.2567, allocations: 0 / 0.7915 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2567, allocations: 4 kB / 0.7915 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2567, allocations: 7.984 kB / 0.7915 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2567, allocations: 3.953 kB / 0.7915 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2567, allocations: 0 / 0.7915 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.2569, allocations: 179.6 kB / 0.7917 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.2569, allocations: 85 kB / 0.7918 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.2569, allocations: 8 kB / 0.7918 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.461e-05/0.257, allocations: 4 kB / 0.7918 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.2571, allocations: 11.94 kB / 0.7918 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.2571, allocations: 4 kB / 0.7918 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.2572, allocations: 91.27 kB / 0.7919 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2572, allocations: 3.938 kB / 0.7919 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002313/0.2574, allocations: 16 kB / 0.7919 GB, free: 6.734 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 (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.0004234/0.2578, allocations: 0.7046 MB / 0.7926 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.258, allocations: 51.92 kB / 0.7926 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.258, allocations: 4.062 kB / 0.7926 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.26e-05/0.258, allocations: 27.92 kB / 0.7927 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.2582, allocations: 7.953 kB / 0.7927 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008422/0.2591, allocations: 0.9174 MB / 0.7936 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2593, allocations: 0.6919 MB / 0.7942 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.652e-05/0.2594, allocations: 4 kB / 0.7942 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.2594, allocations: 23.42 kB / 0.7943 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2594, allocations: 384 / 0.7943 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01168/0.2711, allocations: 1.474 MB / 0.7957 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.2714, allocations: 188.7 kB / 0.7959 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.143, allocations: 0 / 0.7959 GB, free: 2.637 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) Environment - environmentSimulation: