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.598/1.598, allocations: 252 MB / 267 MB, free: 10.98 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.001045/0.001045, allocations: 182.6 kB / 326.6 MB, free: 2.227 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.949/1.949, allocations: 205.4 MB / 0.5777 GB, free: 20.54 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.0009326/0.0009326, allocations: 95.73 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004098/0.0004097, allocations: 12.75 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2348, allocations: 106.3 MB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001799/0.2366, allocations: 1.189 MB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006973/0.2373, allocations: 467.7 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.2374, allocations: 4 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.2374, allocations: 3.984 kB / 0.9019 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.983e-05/0.2375, allocations: 7.938 kB / 0.9019 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.2377, allocations: 23.97 kB / 0.9019 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.334e-05/0.2378, allocations: 47.84 kB / 0.902 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2379, allocations: 8 kB / 0.902 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.216e-05/0.238, allocations: 19.92 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.238, allocations: 15.92 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.2381, allocations: 4 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.2381, allocations: 0 / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.2381, allocations: 11.92 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.2381, allocations: 33.7 kB / 0.9021 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.992e-05/0.2382, allocations: 31.94 kB / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2382, allocations: 0 / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2382, allocations: 0 / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2382, allocations: 3.938 kB / 0.9021 GB, free: 62.32 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.0005203/0.2388, allocations: 355.5 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.2388, allocations: 12.03 kB / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.2389, allocations: 30.56 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.2389, allocations: 15.95 kB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.239, allocations: 175 kB / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.239, allocations: 0 / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.2391, allocations: 4 kB / 0.9027 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.2392, allocations: 61.67 kB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2392, allocations: 3.938 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2392, allocations: 0 / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2392, allocations: 0 / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.171e-05/0.2393, allocations: 27.92 kB / 0.9028 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.2397, allocations: 308.7 kB / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.624e-05/0.2399, allocations: 54.56 kB / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.2399, allocations: 28.97 kB / 0.9031 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.2399, allocations: 4 kB / 0.9032 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.2401, allocations: 67.39 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.2401, allocations: 0 / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002542/0.2404, allocations: 105.5 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.2404, allocations: 55.41 kB / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.103e-05/0.2405, allocations: 105.8 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2405, allocations: 26.08 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.2406, allocations: 100 kB / 0.9036 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.2406, allocations: 15.8 kB / 0.9036 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.2406, allocations: 4 kB / 0.9036 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.705e-05/0.2407, allocations: 318.8 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.092e-05/0.2407, allocations: 15.98 kB / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.871e-05/0.2407, allocations: 51.36 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.2408, allocations: 20 kB / 0.904 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2408, allocations: 0 / 0.904 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001151/0.2409, allocations: 97.52 kB / 0.9041 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2409, allocations: 4 kB / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.241, allocations: 0 / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.241, allocations: 7.953 kB / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.2411, allocations: 11.94 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.2411, allocations: 3.984 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.836e-05/0.2411, allocations: 16.28 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2412, allocations: 8.031 kB / 0.9041 GB, free: 60.01 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 8.54e-05/0.2413, allocations: 127.8 kB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.2413, allocations: 3.906 kB / 0.9043 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.2413, allocations: 15.95 kB / 0.9043 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2413, allocations: 3.953 kB / 0.9043 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2413, allocations: 0 / 0.9043 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2413, allocations: 0 / 0.9043 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.2417, allocations: 362.4 kB / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2417, allocations: 0 / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.2418, allocations: 8 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2418, allocations: 3.953 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.2418, allocations: 4 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2418, allocations: 0 / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2418, allocations: 3.984 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.242, allocations: 183.4 kB / 0.9048 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.242, allocations: 77.11 kB / 0.9049 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2421, allocations: 8.125 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.945e-05/0.2422, allocations: 8 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.2422, allocations: 11.92 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.2422, allocations: 4 kB / 0.9049 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.946e-05/0.2423, allocations: 83.27 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2423, allocations: 0 / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002509/0.2425, allocations: 20 kB / 0.905 GB, free: 59 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.0003454/0.2429, allocations: 0.7124 MB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.243, allocations: 55.86 kB / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.243, allocations: 0 / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-05/0.2431, allocations: 24.05 kB / 0.9058 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.2434, allocations: 17.92 kB / 0.9058 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007395/0.2442, allocations: 489.3 kB / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.2444, allocations: 0.6809 MB / 0.9069 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.2444, allocations: 7.984 kB / 0.907 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.2445, allocations: 15.44 kB / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/0.2445, allocations: 0 / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.256, allocations: 1.504 MB / 0.9084 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/0.2562, allocations: 207.6 kB / 0.9086 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/1.965, allocations: 0 / 0.9086 GB, free: 55.34 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)