Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.555/2.555, allocations: 284.9 MB / 292.4 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001517, allocations: 180.9 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.3 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 97.17 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.385e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.8087, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2691/1.078, allocations: 137.9 MB / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/1.078, allocations: 67.97 kB / 1.098 GB, free: 2.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005833/1.084, allocations: 1.356 MB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/1.084, allocations: 1.406 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.999e-06/1.084, allocations: 6.25 kB / 1.099 GB, free: 1.172 MB / 0.698 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.0005206/1.085, allocations: 354.2 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.085, allocations: 13.66 kB / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/1.085, allocations: 1.203 kB / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/1.085, allocations: 175 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/1.085, allocations: 7.984 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/1.085, allocations: 0.5312 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001331/1.085, allocations: 25.94 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/1.085, allocations: 46.28 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.085, allocations: 0.8125 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/1.085, allocations: 0 / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/1.085, allocations: 0.5625 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005975/1.086, allocations: 290.2 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/1.086, allocations: 43.98 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/1.086, allocations: 25.08 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/1.086, allocations: 0.875 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/1.086, allocations: 74.33 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/1.086, allocations: 0 / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002619/1.087, allocations: 77.38 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/1.087, allocations: 63.33 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.658e-05/1.087, allocations: 96.95 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/1.087, allocations: 25.7 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/1.087, allocations: 92.05 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/1.087, allocations: 23.73 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/1.087, allocations: 0 / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.087, allocations: 310.8 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.747e-05/1.087, allocations: 17.72 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.56e-05/1.087, allocations: 46.11 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/1.087, allocations: 20 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.087, allocations: 6.438 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002086/1.088, allocations: 82.97 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.088, allocations: 6.031 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.088, allocations: 3 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/1.088, allocations: 4 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/1.088, allocations: 15.92 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/1.088, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/1.088, allocations: 16.03 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/1.088, allocations: 7.953 kB / 1.101 GB, free: 15.06 MB / 0.7136 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 () * 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 0.0001147/1.088, allocations: 104.8 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001819/1.088, allocations: 81.52 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/1.088, allocations: 4 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/1.088, allocations: 8.406 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/1.088, allocations: 5.406 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.088, allocations: 3.953 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/1.088, allocations: 0 / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/1.089, allocations: 336.6 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.089, allocations: 0 / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.465e-05/1.089, allocations: 7.938 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/1.089, allocations: 0 / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/1.089, allocations: 0 / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.089, allocations: 3.953 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.089, allocations: 0 / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/1.089, allocations: 180.8 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/1.09, allocations: 81.02 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/1.09, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/1.09, allocations: 11.98 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/1.09, allocations: 11.94 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/1.09, allocations: 7.812 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.027e-05/1.09, allocations: 88.69 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.6e-07/1.09, allocations: 0 / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003071/1.09, allocations: 12 kB / 1.102 GB, free: 14.05 MB / 0.7136 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 () * 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.0005529/1.091, allocations: 0.7011 MB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001602/1.091, allocations: 51.92 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.091, allocations: 4.062 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.31e-05/1.091, allocations: 23.94 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/1.091, allocations: 10.02 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/1.092, allocations: 127.9 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/1.092, allocations: 0.6885 MB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.08e-05/1.092, allocations: 4 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/1.092, allocations: 15.42 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/1.092, allocations: 8 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/1.13, allocations: 1.162 MB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003701/1.131, allocations: 153.1 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/3.48, allocations: 3.609 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)