Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.462/1.462, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 181 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000996/0.0009957, allocations: 102.4 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 10.84 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2673, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00168/0.2691, allocations: 1.188 MB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007288/0.2698, allocations: 476.5 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.2699, allocations: 0 / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.2699, allocations: 0 / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2701, allocations: 7.984 kB / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.2703, allocations: 23.86 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.2703, allocations: 31.94 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2705, allocations: 15.98 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.2705, allocations: 19.92 kB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.2706, allocations: 15.92 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.2706, allocations: 0 / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.2706, allocations: 4 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.2707, allocations: 11.97 kB / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.2707, allocations: 37.64 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.538e-05/0.2708, allocations: 19.95 kB / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2708, allocations: 0 / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2708, allocations: 0 / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2708, allocations: 0 / 0.9019 GB, free: 61.96 MB / 0.6042 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.0004834/0.2713, allocations: 367.5 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2714, allocations: 8.031 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.2714, allocations: 34.56 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.2714, allocations: 3.953 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2716, allocations: 171 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.2716, allocations: 8 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.2716, allocations: 4 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.2717, allocations: 57.62 kB / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.2717, allocations: 3.984 kB / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2717, allocations: 0 / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2718, allocations: 0 / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.034e-05/0.2718, allocations: 27.98 kB / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.2723, allocations: 304.7 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.976e-05/0.2724, allocations: 54.56 kB / 0.9029 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.2724, allocations: 0 / 0.9029 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.2726, allocations: 83.55 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.965e-06/0.2726, allocations: 0 / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002178/0.2728, allocations: 117.4 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.2729, allocations: 55.41 kB / 0.9032 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.607e-05/0.273, allocations: 101.8 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.273, allocations: 33.7 kB / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.273, allocations: 84.05 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.2731, allocations: 15.81 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.2731, allocations: 0 / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.2731, allocations: 322.8 kB / 0.9037 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.2732, allocations: 12 kB / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.169e-05/0.2732, allocations: 47.42 kB / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.866e-05/0.2733, allocations: 24 kB / 0.9038 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2733, allocations: 0 / 0.9038 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001155/0.2734, allocations: 97.69 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2734, allocations: 4 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2734, allocations: 4 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2735, allocations: 8.031 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.2735, allocations: 19.97 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.2735, allocations: 0 / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.429e-05/0.2736, allocations: 11.94 kB / 0.9039 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.2736, allocations: 4 kB / 0.9039 GB, free: 59.68 MB / 0.6042 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 7.461e-05/0.2737, allocations: 123.8 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.2737, allocations: 7.906 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.2738, allocations: 7.969 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2738, allocations: 4 kB / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2738, allocations: 3.953 kB / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2738, allocations: 0 / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.2741, allocations: 362.9 kB / 0.9044 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2741, allocations: 96 / 0.9044 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.2742, allocations: 11.92 kB / 0.9044 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2742, allocations: 0 / 0.9044 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2742, allocations: 11.89 kB / 0.9044 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2742, allocations: 3.938 kB / 0.9044 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2742, allocations: 0 / 0.9044 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.2744, allocations: 179.4 kB / 0.9046 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.2744, allocations: 85.05 kB / 0.9047 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.2744, allocations: 0 / 0.9047 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.479e-05/0.2745, allocations: 11.94 kB / 0.9047 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.2746, allocations: 15.98 kB / 0.9047 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2746, allocations: 4 kB / 0.9047 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.71e-05/0.2746, allocations: 79.28 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2746, allocations: 0 / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002312/0.2749, allocations: 16 kB / 0.9048 GB, free: 58.67 MB / 0.6042 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.000338/0.2752, allocations: 0.7124 MB / 0.9055 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.2753, allocations: 55.91 kB / 0.9056 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2753, allocations: 0 / 0.9056 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.621e-05/0.2754, allocations: 23.94 kB / 0.9056 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.2756, allocations: 20.25 kB / 0.9056 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007518/0.2764, allocations: 0.9131 MB / 0.9065 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2765, allocations: 0.6926 MB / 0.9072 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.2766, allocations: 7.984 kB / 0.9072 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.2766, allocations: 15.44 kB / 0.9072 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2766, allocations: 0 / 0.9072 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.2893, allocations: 1.471 MB / 0.9086 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/0.2895, allocations: 211.9 kB / 0.9088 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.927, allocations: 3.938 kB / 0.9088 GB, free: 54.57 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)