Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001336/0.001336, allocations: 172.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.3 MB / 0.626 GB, free: 7.148 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.0008676/0.0008675, allocations: 88.03 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.859e-05/3.863e-05, allocations: 8 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6821/0.6822, allocations: 116.3 MB / 0.9734 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2035/0.8857, allocations: 139.7 MB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.886, allocations: 77.08 kB / 1.11 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0373/0.9233, allocations: 13.64 MB / 1.123 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9234, allocations: 0 / 1.123 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.531e-05/0.9234, allocations: 20 kB / 1.123 GB, free: 12.7 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002228/0.9257, allocations: 1.029 MB / 1.124 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.9257, allocations: 12.03 kB / 1.124 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003762/0.9261, allocations: 114.7 kB / 1.124 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.9273, allocations: 0.5899 MB / 1.125 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.9274, allocations: 28 kB / 1.125 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.9275, allocations: 59.91 kB / 1.125 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001101/0.9286, allocations: 490.2 kB / 1.126 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.9299, allocations: 0.6654 MB / 1.126 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.9299, allocations: 4 kB / 1.126 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.93, allocations: 3.984 kB / 1.126 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.93, allocations: 20 kB / 1.126 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/0.934, allocations: 2.333 MB / 1.128 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.9352, allocations: 1.188 MB / 1.13 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/0.9356, allocations: 286.6 kB / 1.13 GB, free: 5.574 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.083e-05/0.9357, allocations: 12.55 kB / 1.13 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004806/0.9362, allocations: 278 kB / 1.13 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 4.108e-06/0.9362, allocations: 0 / 1.13 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.0008819/0.9371, allocations: 474.2 kB / 1.131 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-05/0.9372, allocations: 158.8 kB / 1.131 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005941/0.9378, allocations: 422.2 kB / 1.131 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.9379, allocations: 29.7 kB / 1.131 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.9382, allocations: 408.1 kB / 1.132 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.9384, allocations: 224.5 kB / 1.132 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.9384, allocations: 8 kB / 1.132 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.9387, allocations: 378.8 kB / 1.132 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.9389, allocations: 161.5 kB / 1.132 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.9393, allocations: 265 kB / 1.133 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.9397, allocations: 196.5 kB / 1.133 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9397, allocations: 0 / 1.133 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008572/0.9406, allocations: 0.5072 MB / 1.133 GB, free: 2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.9407, allocations: 185.1 kB / 1.133 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.9407, allocations: 4.031 kB / 1.133 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.9407, allocations: 4 kB / 1.133 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.9414, allocations: 143.8 kB / 1.134 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.9414, allocations: 4 kB / 1.134 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.9418, allocations: 79.55 kB / 1.134 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.9419, allocations: 27.98 kB / 1.134 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.9419, allocations: 4 kB / 1.134 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006044/0.9425, allocations: 398.5 kB / 1.134 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.9425, allocations: 4.031 kB / 1.134 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.9425, allocations: 5.969 kB / 1.134 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.943, allocations: 115.8 kB / 1.134 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.943, allocations: 4 kB / 1.134 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.9433, allocations: 57.45 kB / 1.134 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.9434, allocations: 16 kB / 1.134 GB, free: 0.9609 MB / 0.7292 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0001466/0.9435, allocations: 126.5 kB / 1.134 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006844/0.9442, allocations: 454.4 kB / 1.135 GB, free: 388 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/0.9443, allocations: 75.09 kB / 1.135 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.9445, allocations: 66.55 kB / 1.135 GB, free: 244 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.9445, allocations: 8 kB / 1.135 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.9445, allocations: 3.938 kB / 1.135 GB, free: 232 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.9445, allocations: 0 / 1.135 GB, free: 232 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/0.9465, allocations: 1.344 MB / 1.136 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9466, allocations: 0 / 1.136 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.9472, allocations: 139.8 kB / 1.136 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.9472, allocations: 4 kB / 1.136 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.9473, allocations: 4 kB / 1.136 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.9473, allocations: 2.688 kB / 1.136 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9473, allocations: 0 / 1.136 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.9485, allocations: 0.8145 MB / 1.137 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.9487, allocations: 148.1 kB / 1.137 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.9487, allocations: 11.94 kB / 1.137 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.9491, allocations: 43.95 kB / 1.137 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.9492, allocations: 32.52 kB / 1.137 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.9492, allocations: 23.98 kB / 1.137 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000366/0.9496, allocations: 319 kB / 1.138 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.813e-06/0.9496, allocations: 96 / 1.138 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007223/0.9504, allocations: 274.9 kB / 1.138 GB, free: 13.01 MB / 0.7448 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 69 * 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.001514/0.9519, allocations: 1.376 MB / 1.139 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.953, allocations: 0.6845 MB / 1.14 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.953, allocations: 0 / 1.14 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.9534, allocations: 238 kB / 1.14 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/0.954, allocations: 115.6 kB / 1.14 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.9564, allocations: 1.226 MB / 1.142 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.9571, allocations: 1.01 MB / 1.143 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000486/0.9575, allocations: 106.7 kB / 1.143 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/0.958, allocations: 335.3 kB / 1.143 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of SimCode: time 6.72e-07/0.958, allocations: 4 kB / 1.143 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03888/0.9969, allocations: 12.82 MB / 1.156 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.9971, allocations: 154.6 kB / 1.156 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.526, allocations: 0.5 kB / 1.156 GB, free: 11.05 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)