Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.619/2.619, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001612/0.001611, allocations: 181.9 kB / 370.8 MB, free: 10.87 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.123/2.123, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001207/0.001206, allocations: 94.42 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006569/0.0006569, allocations: 15.88 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.224, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.248, allocations: 142.7 MB / 1.118 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/1.249, allocations: 84.97 kB / 1.118 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06626/1.315, allocations: 17.44 MB / 1.135 GB, free: 27.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.517e-06/1.315, allocations: 7.812 kB / 1.135 GB, free: 27.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.513e-05/1.315, allocations: 22.58 kB / 1.135 GB, free: 27.43 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.003268/1.318, allocations: 1.245 MB / 1.136 GB, free: 26.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.318, allocations: 7.562 kB / 1.136 GB, free: 26.56 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004175/1.319, allocations: 147.9 kB / 1.136 GB, free: 26.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003132/1.319, allocations: 124 kB / 1.136 GB, free: 26.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/1.321, allocations: 0.6113 MB / 1.137 GB, free: 26.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.386e-05/1.321, allocations: 74.62 kB / 1.137 GB, free: 26.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/1.321, allocations: 102.4 kB / 1.137 GB, free: 26.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/1.324, allocations: 0.9045 MB / 1.138 GB, free: 25.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/1.324, allocations: 3.844 kB / 1.138 GB, free: 25.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/1.324, allocations: 48.73 kB / 1.138 GB, free: 25.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/1.324, allocations: 23.12 kB / 1.138 GB, free: 25.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/1.326, allocations: 0.6919 MB / 1.139 GB, free: 25.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006275/1.333, allocations: 2.736 MB / 1.141 GB, free: 24.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/1.335, allocations: 0.7439 MB / 1.142 GB, free: 24.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.281e-05/1.335, allocations: 8.344 kB / 1.142 GB, free: 24.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/1.336, allocations: 391.3 kB / 1.142 GB, free: 24.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=77): time 3.757e-06/1.336, allocations: 0 / 1.142 GB, free: 24.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=77): time 0.002809/1.339, allocations: 0.9113 MB / 1.143 GB, free: 23.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.339, allocations: 162.4 kB / 1.144 GB, free: 23.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009917/1.34, allocations: 0.5702 MB / 1.144 GB, free: 23.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/1.34, allocations: 40.48 kB / 1.144 GB, free: 23.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/1.341, allocations: 451.4 kB / 1.145 GB, free: 23.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/1.341, allocations: 265.6 kB / 1.145 GB, free: 23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/1.341, allocations: 14.62 kB / 1.145 GB, free: 23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.341, allocations: 332.4 kB / 1.145 GB, free: 22.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008505/1.342, allocations: 260.2 kB / 1.145 GB, free: 22.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000933/1.343, allocations: 367.7 kB / 1.146 GB, free: 22.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008858/1.344, allocations: 292.6 kB / 1.146 GB, free: 22.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/1.344, allocations: 4 kB / 1.146 GB, free: 22.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002125/1.346, allocations: 0.756 MB / 1.147 GB, free: 22.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/1.346, allocations: 188.7 kB / 1.147 GB, free: 22.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.346, allocations: 0 / 1.147 GB, free: 22.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-05/1.346, allocations: 3.938 kB / 1.147 GB, free: 22.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.347, allocations: 170.8 kB / 1.147 GB, free: 22.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/1.347, allocations: 3.594 kB / 1.147 GB, free: 22.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007795/1.348, allocations: 113 kB / 1.147 GB, free: 22.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/1.348, allocations: 29.17 kB / 1.147 GB, free: 22.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/1.348, allocations: 3.781 kB / 1.147 GB, free: 22.04 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001145/1.349, allocations: 0.5316 MB / 1.148 GB, free: 21.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.349, allocations: 0 / 1.148 GB, free: 21.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/1.349, allocations: 3.875 kB / 1.148 GB, free: 21.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009735/1.35, allocations: 137.7 kB / 1.148 GB, free: 21.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.35, allocations: 3.812 kB / 1.148 GB, free: 21.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/1.351, allocations: 79.91 kB / 1.148 GB, free: 21.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/1.351, allocations: 26.8 kB / 1.148 GB, free: 21.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0006383/1.352, allocations: 299.8 kB / 1.148 GB, free: 21.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/1.352, allocations: 85.56 kB / 1.148 GB, free: 21.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/1.352, allocations: 99.91 kB / 1.148 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.352, allocations: 7.688 kB / 1.148 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.352, allocations: 0 / 1.148 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/1.352, allocations: 3.984 kB / 1.148 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003695/1.356, allocations: 1.705 MB / 1.15 GB, free: 20.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.356, allocations: 0 / 1.15 GB, free: 20.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.357, allocations: 145.9 kB / 1.15 GB, free: 20.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/1.357, allocations: 3.844 kB / 1.15 GB, free: 20.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/1.357, allocations: 14.25 kB / 1.15 GB, free: 20.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/1.357, allocations: 7.703 kB / 1.15 GB, free: 20.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.357, allocations: 3.953 kB / 1.15 GB, free: 20.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/1.36, allocations: 1.135 MB / 1.151 GB, free: 20.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/1.361, allocations: 172.6 kB / 1.152 GB, free: 20.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/1.361, allocations: 14.34 kB / 1.152 GB, free: 20.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/1.362, allocations: 56.83 kB / 1.152 GB, free: 20.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.362, allocations: 42.97 kB / 1.152 GB, free: 20.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/1.362, allocations: 26.61 kB / 1.152 GB, free: 20.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008269/1.363, allocations: 456.3 kB / 1.152 GB, free: 20.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.363, allocations: 0 / 1.152 GB, free: 20.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001069/1.364, allocations: 327.8 kB / 1.152 GB, free: 20.22 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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 Backend phase and start with SimCode phase: time 0.003504/1.367, allocations: 1.713 MB / 1.154 GB, free: 19.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002605/1.37, allocations: 0.9337 MB / 1.155 GB, free: 19.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.37, allocations: 3.938 kB / 1.155 GB, free: 19.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009709/1.371, allocations: 348.1 kB / 1.155 GB, free: 19.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/1.372, allocations: 142.6 kB / 1.156 GB, free: 19.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/1.384, allocations: 5.161 MB / 1.161 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.385, allocations: 1.033 MB / 1.162 GB, free: 14.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001264/1.387, allocations: 94 kB / 1.162 GB, free: 14.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/1.388, allocations: 377 kB / 1.162 GB, free: 14.46 MB / 0.698 GB Notification: Performance of SimCode: time 1.693e-06/1.388, allocations: 192 / 1.162 GB, free: 14.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07202/1.46, allocations: 15 MB / 1.177 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003007/1.461, allocations: 210.4 kB / 1.177 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.19/4.651, allocations: 0 / 1.177 GB, free: 15.49 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)