Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.47/2.47, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001513/0.001512, allocations: 180.8 kB / 360.6 MB, free: 7.285 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.09/2.09, allocations: 205.3 MB / 0.6191 GB, free: 12.22 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.001097/0.001096, allocations: 104 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.988e-05/5.996e-05, allocations: 8 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8385/0.8386, allocations: 115.3 MB / 0.9634 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2464/1.085, allocations: 138.6 MB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.085, allocations: 77.45 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06084/1.146, allocations: 13.63 MB / 1.112 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/1.146, allocations: 0 / 1.112 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.282e-05/1.146, allocations: 24 kB / 1.112 GB, free: 4.223 MB / 0.7136 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.002752/1.149, allocations: 1.034 MB / 1.113 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.149, allocations: 12.03 kB / 1.113 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003733/1.15, allocations: 110.7 kB / 1.113 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/1.151, allocations: 0.5938 MB / 1.114 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/1.151, allocations: 28 kB / 1.114 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/1.151, allocations: 59.91 kB / 1.114 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001516/1.153, allocations: 492 kB / 1.114 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/1.155, allocations: 0.6598 MB / 1.115 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/1.155, allocations: 6.047 kB / 1.115 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-05/1.155, allocations: 0 / 1.115 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/1.155, allocations: 24 kB / 1.115 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006623/1.162, allocations: 2.333 MB / 1.117 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/1.164, allocations: 1.184 MB / 1.119 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007924/1.164, allocations: 286.6 kB / 1.119 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.18e-05/1.165, allocations: 8.562 kB / 1.119 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007399/1.165, allocations: 278 kB / 1.119 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 4.178e-06/1.165, allocations: 0 / 1.119 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.001353/1.167, allocations: 478.1 kB / 1.12 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/1.167, allocations: 166.4 kB / 1.12 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/1.169, allocations: 418.2 kB / 1.12 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/1.169, allocations: 25.7 kB / 1.12 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006336/1.17, allocations: 412.1 kB / 1.121 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004832/1.17, allocations: 236.5 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/1.17, allocations: 0 / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003295/1.171, allocations: 374.8 kB / 1.121 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007141/1.171, allocations: 157.6 kB / 1.121 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/1.172, allocations: 263.6 kB / 1.122 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/1.173, allocations: 200.4 kB / 1.122 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.173, allocations: 0 / 1.122 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00139/1.174, allocations: 0.5111 MB / 1.122 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.174, allocations: 185.9 kB / 1.122 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.174, allocations: 0 / 1.122 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/1.174, allocations: 7.984 kB / 1.122 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/1.175, allocations: 147.8 kB / 1.123 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.175, allocations: 4 kB / 1.123 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007431/1.176, allocations: 83.53 kB / 1.123 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/1.176, allocations: 23.95 kB / 1.123 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.176, allocations: 4 kB / 1.123 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001176/1.178, allocations: 394.7 kB / 1.123 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.178, allocations: 3.281 kB / 1.123 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/1.178, allocations: 4 kB / 1.123 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008683/1.178, allocations: 119.8 kB / 1.123 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/1.178, allocations: 0 / 1.123 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/1.179, allocations: 64.91 kB / 1.123 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/1.179, allocations: 20 kB / 1.123 GB, free: 8.473 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.0002227/1.179, allocations: 116.6 kB / 1.123 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001161/1.181, allocations: 466.2 kB / 1.124 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/1.181, allocations: 67.16 kB / 1.124 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/1.181, allocations: 70.55 kB / 1.124 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.181, allocations: 4 kB / 1.124 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.181, allocations: 4 kB / 1.124 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/1.181, allocations: 3.984 kB / 1.124 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/1.184, allocations: 1.34 MB / 1.125 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.184, allocations: 3.438 kB / 1.125 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/1.185, allocations: 139.8 kB / 1.125 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/1.185, allocations: 0 / 1.125 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/1.186, allocations: 5.219 kB / 1.125 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/1.186, allocations: 4 kB / 1.125 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.186, allocations: 0 / 1.125 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/1.188, allocations: 0.8155 MB / 1.126 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/1.188, allocations: 152.1 kB / 1.126 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.188, allocations: 0 / 1.126 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.189, allocations: 43.95 kB / 1.126 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/1.19, allocations: 44.45 kB / 1.126 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.056e-05/1.19, allocations: 23.98 kB / 1.126 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006242/1.19, allocations: 315 kB / 1.127 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.21e-07/1.19, allocations: 0 / 1.127 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00128/1.192, allocations: 272.1 kB / 1.127 GB, free: 4.52 MB / 0.7292 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.002362/1.194, allocations: 1.382 MB / 1.128 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001801/1.196, allocations: 0.6806 MB / 1.129 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/1.196, allocations: 0 / 1.129 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007511/1.197, allocations: 242 kB / 1.129 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.198, allocations: 104.3 kB / 1.129 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/1.202, allocations: 1.229 MB / 1.131 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008347/1.202, allocations: 1.002 MB / 1.132 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009098/1.203, allocations: 110 kB / 1.132 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007441/1.204, allocations: 335.3 kB / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of SimCode: time 1.212e-06/1.204, allocations: 0 / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06899/1.273, allocations: 12.81 MB / 1.144 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/1.274, allocations: 160 kB / 1.145 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.018/4.291, allocations: 1.375 kB / 1.145 GB, free: 2.609 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)