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.763/1.763, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001193/0.001193, allocations: 186.9 kB / 371.6 MB, free: 3.387 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.802/1.802, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009966/0.0009965, allocations: 102.2 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.4e-05/5.402e-05, allocations: 8 kB / 0.8664 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3063, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8211/1.127, allocations: 140.4 MB / 1.117 GB, free: 43.72 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/1.128, allocations: 76.38 kB / 1.117 GB, free: 43.69 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03247/1.16, allocations: 13.75 MB / 1.131 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.382e-06/1.16, allocations: 0 / 1.131 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.145e-05/1.16, allocations: 23.81 kB / 1.131 GB, free: 36.63 MB / 0.7448 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.001431/1.162, allocations: 1.03 MB / 1.132 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.162, allocations: 12.59 kB / 1.132 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/1.162, allocations: 133 kB / 1.132 GB, free: 35.65 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/1.162, allocations: 116.4 kB / 1.132 GB, free: 35.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008572/1.163, allocations: 0.5868 MB / 1.132 GB, free: 35.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/1.163, allocations: 67 kB / 1.132 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/1.163, allocations: 100.8 kB / 1.133 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/1.164, allocations: 0.7927 MB / 1.133 GB, free: 34.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/1.164, allocations: 0 / 1.133 GB, free: 34.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.705e-05/1.165, allocations: 36.25 kB / 1.133 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/1.165, allocations: 20 kB / 1.133 GB, free: 34.49 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007898/1.165, allocations: 0.5217 MB / 1.134 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/1.169, allocations: 2.511 MB / 1.136 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000961/1.17, allocations: 1.211 MB / 1.138 GB, free: 31.51 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/1.17, allocations: 308.7 kB / 1.138 GB, free: 31.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.836e-05/1.17, allocations: 18.33 kB / 1.138 GB, free: 31.31 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005043/1.17, allocations: 303.2 kB / 1.138 GB, free: 31.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=69): time 2.575e-06/1.17, allocations: 0 / 1.138 GB, free: 31.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69): time 0.0007903/1.171, allocations: 0.4925 MB / 1.139 GB, free: 30.78 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/1.171, allocations: 167.1 kB / 1.139 GB, free: 30.58 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005632/1.172, allocations: 0.5165 MB / 1.139 GB, free: 30.21 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/1.172, allocations: 40.83 kB / 1.139 GB, free: 30.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/1.172, allocations: 412.3 kB / 1.14 GB, free: 29.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/1.172, allocations: 240.3 kB / 1.14 GB, free: 29.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/1.172, allocations: 11.56 kB / 1.14 GB, free: 29.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.954e-05/1.173, allocations: 331 kB / 1.14 GB, free: 29.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/1.173, allocations: 168.5 kB / 1.14 GB, free: 29.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/1.173, allocations: 286.1 kB / 1.141 GB, free: 29.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/1.174, allocations: 198.6 kB / 1.141 GB, free: 29.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.174, allocations: 0 / 1.141 GB, free: 29.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008766/1.174, allocations: 0.5553 MB / 1.141 GB, free: 28.65 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.802e-05/1.175, allocations: 189.8 kB / 1.142 GB, free: 28.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.175, allocations: 0 / 1.142 GB, free: 28.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/1.175, allocations: 4 kB / 1.142 GB, free: 28.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/1.175, allocations: 146.9 kB / 1.142 GB, free: 28.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/1.175, allocations: 4.609 kB / 1.142 GB, free: 28.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/1.176, allocations: 106.5 kB / 1.142 GB, free: 28.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/1.176, allocations: 21.23 kB / 1.142 GB, free: 28.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/1.176, allocations: 4 kB / 1.142 GB, free: 28.23 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007243/1.177, allocations: 457.6 kB / 1.142 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/1.177, allocations: 0 / 1.142 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/1.177, allocations: 4.562 kB / 1.142 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/1.177, allocations: 122.8 kB / 1.142 GB, free: 27.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/1.177, allocations: 0.5625 kB / 1.142 GB, free: 27.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/1.177, allocations: 82.75 kB / 1.143 GB, free: 27.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/1.177, allocations: 19.75 kB / 1.143 GB, free: 27.77 MB / 0.7448 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.0001552/1.178, allocations: 139.5 kB / 1.143 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/1.178, allocations: 80.14 kB / 1.143 GB, free: 27.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/1.178, allocations: 82.34 kB / 1.143 GB, free: 27.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/1.178, allocations: 8 kB / 1.143 GB, free: 27.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.178, allocations: 0 / 1.143 GB, free: 27.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/1.178, allocations: 3.328 kB / 1.143 GB, free: 27.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/1.18, allocations: 1.503 MB / 1.144 GB, free: 26.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.18, allocations: 0 / 1.144 GB, free: 26.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/1.181, allocations: 132.9 kB / 1.144 GB, free: 26.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/1.181, allocations: 4 kB / 1.144 GB, free: 26.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/1.181, allocations: 15.44 kB / 1.144 GB, free: 26.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/1.181, allocations: 4 kB / 1.144 GB, free: 26.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.181, allocations: 4.875 kB / 1.144 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/1.182, allocations: 0.8693 MB / 1.145 GB, free: 25.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/1.182, allocations: 163.9 kB / 1.145 GB, free: 25.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/1.182, allocations: 19.28 kB / 1.145 GB, free: 25.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/1.183, allocations: 53.31 kB / 1.146 GB, free: 25.72 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.183, allocations: 45.5 kB / 1.146 GB, free: 25.69 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/1.183, allocations: 21.69 kB / 1.146 GB, free: 25.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005026/1.184, allocations: 415.2 kB / 1.146 GB, free: 25.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.184, allocations: 0.8438 kB / 1.146 GB, free: 25.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006791/1.184, allocations: 294.6 kB / 1.146 GB, free: 25.14 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.001516/1.186, allocations: 1.452 MB / 1.148 GB, free: 23.97 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001143/1.187, allocations: 0.7295 MB / 1.148 GB, free: 23.47 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.187, allocations: 0 / 1.148 GB, free: 23.47 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003273/1.187, allocations: 256.5 kB / 1.149 GB, free: 23.3 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007358/1.188, allocations: 121.3 kB / 1.149 GB, free: 23.24 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/1.19, allocations: 1.304 MB / 1.15 GB, free: 22.2 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/1.191, allocations: 1 MB / 1.151 GB, free: 21.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004959/1.191, allocations: 125 kB / 1.151 GB, free: 21.21 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/1.192, allocations: 336.8 kB / 1.151 GB, free: 21.16 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/1.192, allocations: 0 / 1.151 GB, free: 21.16 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/1.223, allocations: 14.44 MB / 1.166 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001263/1.223, allocations: 168.1 kB / 1.166 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.787, allocations: 2.672 kB / 1.166 GB, free: 12.38 MB / 0.7448 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)