Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 106 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.559/2.559, allocations: 437.1 MB / 0.7171 GB, free: 4.07 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PID,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PID,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001983, allocations: 75.89 kB / 1.027 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9217/0.9237, allocations: 151.6 MB / 1.175 GB, free: 17.52 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.003957/0.9277, allocations: 3.627 MB / 1.178 GB, free: 14.86 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00344/0.9312, allocations: 2.133 MB / 1.18 GB, free: 13.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007697/0.932, allocations: 21.28 kB / 1.18 GB, free: 13.24 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.9325, allocations: 176.6 kB / 1.181 GB, free: 13.11 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000473/0.933, allocations: 142 kB / 1.181 GB, free: 13 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.9343, allocations: 0.5047 MB / 1.181 GB, free: 12.69 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.9357, allocations: 1.253 MB / 1.182 GB, free: 12.04 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008395/0.9366, allocations: 0.5904 MB / 1.183 GB, free: 11.7 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.9372, allocations: 444.4 kB / 1.183 GB, free: 11.45 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004462/0.9376, allocations: 487.4 kB / 1.184 GB, free: 11.16 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.9378, allocations: 129.5 kB / 1.184 GB, free: 11.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.938, allocations: 142.8 kB / 1.184 GB, free: 11.15 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.9382, allocations: 260.6 kB / 1.184 GB, free: 10.96 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.9386, allocations: 0.5048 MB / 1.185 GB, free: 10.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.9403, allocations: 1.441 MB / 1.186 GB, free: 9.98 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.9403, allocations: 0 / 1.186 GB, free: 9.98 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.855e-06/0.9403, allocations: 1 kB / 1.186 GB, free: 9.98 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.617e-05/0.9403, allocations: 0 / 1.186 GB, free: 9.98 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002771/0.9431, allocations: 1.403 MB / 1.188 GB, free: 9.035 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.9432, allocations: 10 kB / 1.188 GB, free: 9.035 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.9433, allocations: 137.3 kB / 1.188 GB, free: 8.941 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.9435, allocations: 124.7 kB / 1.188 GB, free: 8.879 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008775/0.9444, allocations: 0.5986 MB / 1.189 GB, free: 8.438 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.316e-05/0.9445, allocations: 72.94 kB / 1.189 GB, free: 8.406 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.9446, allocations: 95.03 kB / 1.189 GB, free: 8.375 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.9461, allocations: 0.8653 MB / 1.19 GB, free: 7.988 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.9462, allocations: 3.938 kB / 1.19 GB, free: 7.984 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.9462, allocations: 38.05 kB / 1.19 GB, free: 7.957 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.9462, allocations: 20.88 kB / 1.19 GB, free: 7.957 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.9475, allocations: 0.6424 MB / 1.19 GB, free: 7.738 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004243/0.9518, allocations: 2.97 MB / 1.193 GB, free: 5.656 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.9533, allocations: 0.6766 MB / 1.194 GB, free: 5.324 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005995/0.9539, allocations: 378.6 kB / 1.194 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.9539, allocations: 8.031 kB / 1.194 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000627/0.9546, allocations: 349.3 kB / 1.194 GB, free: 4.93 MB / 0.92 GB Notification: Performance of pre-optimization done (n=68): time 3.387e-06/0.9546, allocations: 0 / 1.194 GB, free: 4.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=68): time 0.001769/0.9564, allocations: 0.8325 MB / 1.195 GB, free: 4.527 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.9564, allocations: 193 kB / 1.195 GB, free: 4.305 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007614/0.9572, allocations: 0.6807 MB / 1.196 GB, free: 3.914 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.835e-05/0.9573, allocations: 43.45 kB / 1.196 GB, free: 3.871 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.9575, allocations: 439.2 kB / 1.197 GB, free: 3.488 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.9577, allocations: 241.4 kB / 1.197 GB, free: 3.277 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.9579, allocations: 145 kB / 1.197 GB, free: 3.191 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.63e-05/0.9579, allocations: 340 kB / 1.197 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/0.9586, allocations: 300.2 kB / 1.198 GB, free: 2.707 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006973/0.9593, allocations: 477.9 kB / 1.198 GB, free: 2.348 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.9605, allocations: 0.6849 MB / 1.199 GB, free: 1.91 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.9605, allocations: 1.094 kB / 1.199 GB, free: 1.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001716/0.9622, allocations: 0.881 MB / 1.2 GB, free: 1.453 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/0.9623, allocations: 41.78 kB / 1.2 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.9623, allocations: 2.938 kB / 1.2 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.9623, allocations: 7.438 kB / 1.2 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/0.9629, allocations: 161.3 kB / 1.2 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.9629, allocations: 5.469 kB / 1.2 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/0.9636, allocations: 147.7 kB / 1.2 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.9637, allocations: 38.17 kB / 1.2 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006375/0.9643, allocations: 396.1 kB / 1.2 GB, free: 1.031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004745/0.9648, allocations: 419.8 kB / 1.201 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007116/0.9655, allocations: 0.569 MB / 1.201 GB, free: 320 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/0.9655, allocations: 1.188 kB / 1.201 GB, free: 320 kB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001288/0.9668, allocations: 0.7567 MB / 1.202 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.724e-05/0.9669, allocations: 42.12 kB / 1.202 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.9669, allocations: 4 kB / 1.202 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.9669, allocations: 10.53 kB / 1.202 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.9674, allocations: 134.5 kB / 1.202 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.9674, allocations: 9.641 kB / 1.202 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/0.9681, allocations: 115.7 kB / 1.202 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.9682, allocations: 29.31 kB / 1.202 GB, free: 15.77 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002734/0.9684, allocations: 231.1 kB / 1.203 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.9686, allocations: 88.23 kB / 1.203 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.97, allocations: 0.6558 MB / 1.203 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.9701, allocations: 6.094 kB / 1.203 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.9701, allocations: 1.062 kB / 1.203 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.9701, allocations: 3.984 kB / 1.203 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/0.973, allocations: 1.671 MB / 1.205 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.973, allocations: 2.094 kB / 1.205 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/0.9736, allocations: 125.7 kB / 1.205 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.9736, allocations: 5.688 kB / 1.205 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.9736, allocations: 22.95 kB / 1.205 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.9737, allocations: 8.906 kB / 1.205 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.9737, allocations: 2.344 kB / 1.205 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.9759, allocations: 1.098 MB / 1.206 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.9761, allocations: 179.6 kB / 1.206 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.433e-05/0.9762, allocations: 19 kB / 1.206 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.9766, allocations: 48.7 kB / 1.206 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.9767, allocations: 45.12 kB / 1.206 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.9768, allocations: 28.42 kB / 1.206 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006843/0.9775, allocations: 485 kB / 1.207 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9775, allocations: 0 / 1.207 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001016/0.9785, allocations: 319.3 kB / 1.207 GB, free: 12.59 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00249/0.981, allocations: 1.665 MB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002479/0.9835, allocations: 1.146 MB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.9835, allocations: 5.047 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006317/0.9841, allocations: 311.3 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.9852, allocations: 186.5 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.9968, allocations: 6.606 MB / 1.217 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/0.9975, allocations: 0.9798 MB / 1.218 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005125/0.9981, allocations: 104.2 kB / 1.218 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005077/0.9986, allocations: 344.8 kB / 1.218 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of SimCode: time 8.12e-07/0.9986, allocations: 0 / 1.218 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04821/1.047, allocations: 16.37 MB / 1.234 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.613/10.66, allocations: 11.31 kB / 1.234 GB, free: 11.11 MB / 0.9512 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PID_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PID.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.474553843960166] Failed to read output from testmodel.py, exit status != 0: 10.737148961983621 10.750731332 9.807777658 Calling exit ...