Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002356/0.002356, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.907/2.907, allocations: 394.2 MB / 0.6387 GB, free: 11.9 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 63.91 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004974/1.031, allocations: 3.062 MB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003977/1.035, allocations: 2.132 MB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004232/1.035, allocations: 29.38 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004716/1.036, allocations: 179 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003661/1.036, allocations: 148.5 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/1.038, allocations: 0.5051 MB / 1.193 GB, free: 11.99 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001235/1.039, allocations: 1.249 MB / 1.194 GB, free: 11.33 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006838/1.039, allocations: 402.8 kB / 1.194 GB, free: 11.08 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004641/1.04, allocations: 456.6 kB / 1.195 GB, free: 10.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005228/1.04, allocations: 432.5 kB / 1.195 GB, free: 10.58 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002127/1.041, allocations: 129.4 kB / 1.195 GB, free: 10.58 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/1.041, allocations: 145.2 kB / 1.195 GB, free: 10.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/1.041, allocations: 251.2 kB / 1.196 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003654/1.042, allocations: 411.9 kB / 1.196 GB, free: 10.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001697/1.043, allocations: 1.449 MB / 1.197 GB, free: 9.516 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.043, allocations: 0.6094 kB / 1.197 GB, free: 9.516 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.724e-06/1.043, allocations: 0 / 1.197 GB, free: 9.516 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.981e-05/1.043, allocations: 0 / 1.197 GB, free: 9.516 MB / 1.076 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.002839/1.046, allocations: 1.558 MB / 1.199 GB, free: 8.566 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.046, allocations: 12.62 kB / 1.199 GB, free: 8.562 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/1.046, allocations: 124.8 kB / 1.199 GB, free: 8.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009374/1.047, allocations: 0.5334 MB / 1.199 GB, free: 8.125 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/1.047, allocations: 76.56 kB / 1.2 GB, free: 8.09 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/1.047, allocations: 92.34 kB / 1.2 GB, free: 8.062 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/1.049, allocations: 0.9846 MB / 1.201 GB, free: 7.527 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/1.049, allocations: 1.188 kB / 1.201 GB, free: 7.527 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.705e-05/1.049, allocations: 40.92 kB / 1.201 GB, free: 7.496 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/1.049, allocations: 24.56 kB / 1.201 GB, free: 7.492 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/1.051, allocations: 0.6329 MB / 1.201 GB, free: 7.285 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/1.055, allocations: 2.517 MB / 1.204 GB, free: 5.672 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/1.056, allocations: 0.6569 MB / 1.204 GB, free: 5.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006618/1.057, allocations: 352.5 kB / 1.205 GB, free: 5.301 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/1.057, allocations: 12.45 kB / 1.205 GB, free: 5.297 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006887/1.058, allocations: 344.7 kB / 1.205 GB, free: 5.148 MB / 1.076 GB Notification: Performance of pre-optimization done (n=68): time 3.266e-06/1.058, allocations: 5.031 kB / 1.205 GB, free: 5.145 MB / 1.076 GB Notification: Performance of matching and sorting (n=68): time 0.001793/1.059, allocations: 0.8291 MB / 1.206 GB, free: 4.832 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/1.059, allocations: 189.3 kB / 1.206 GB, free: 4.613 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007632/1.06, allocations: 0.585 MB / 1.207 GB, free: 4.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.972e-05/1.06, allocations: 48.42 kB / 1.207 GB, free: 4.293 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/1.06, allocations: 442.7 kB / 1.207 GB, free: 3.949 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/1.061, allocations: 241.9 kB / 1.207 GB, free: 3.758 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/1.061, allocations: 153.4 kB / 1.207 GB, free: 3.684 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.061, allocations: 381.5 kB / 1.208 GB, free: 3.34 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000693/1.062, allocations: 325.9 kB / 1.208 GB, free: 3.199 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008717/1.063, allocations: 0.7584 MB / 1.209 GB, free: 2.539 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/1.064, allocations: 0.6759 MB / 1.21 GB, free: 2.16 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.064, allocations: 1.438 kB / 1.21 GB, free: 2.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001847/1.066, allocations: 0.8985 MB / 1.21 GB, free: 1.758 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/1.066, allocations: 39.2 kB / 1.21 GB, free: 1.723 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.066, allocations: 3.531 kB / 1.21 GB, free: 1.723 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/1.066, allocations: 7.188 kB / 1.21 GB, free: 1.723 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/1.066, allocations: 162.4 kB / 1.211 GB, free: 1.707 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/1.066, allocations: 9.969 kB / 1.211 GB, free: 1.703 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000634/1.067, allocations: 129.9 kB / 1.211 GB, free: 1.656 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/1.067, allocations: 32.83 kB / 1.211 GB, free: 1.648 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006598/1.068, allocations: 424.1 kB / 1.211 GB, free: 1.395 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006469/1.068, allocations: 0.6995 MB / 1.212 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007646/1.069, allocations: 0.5652 MB / 1.212 GB, free: 384 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.286e-06/1.069, allocations: 5.312 kB / 1.212 GB, free: 380 kB / 1.076 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001292/1.07, allocations: 0.7834 MB / 1.213 GB, free: 15.98 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/1.071, allocations: 40.05 kB / 1.213 GB, free: 15.95 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.071, allocations: 7.812 kB / 1.213 GB, free: 15.94 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/1.071, allocations: 6.594 kB / 1.213 GB, free: 15.94 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/1.071, allocations: 138.3 kB / 1.213 GB, free: 15.93 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.071, allocations: 10.47 kB / 1.213 GB, free: 15.92 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005593/1.072, allocations: 115.2 kB / 1.214 GB, free: 15.88 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/1.072, allocations: 35.58 kB / 1.214 GB, free: 15.87 MB / 1.092 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.0003031/1.072, allocations: 237.3 kB / 1.214 GB, free: 15.65 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/1.072, allocations: 72.41 kB / 1.214 GB, free: 15.61 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/1.074, allocations: 0.6541 MB / 1.214 GB, free: 15.33 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.074, allocations: 10.56 kB / 1.214 GB, free: 15.33 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.074, allocations: 2.219 kB / 1.214 GB, free: 15.33 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.074, allocations: 3.047 kB / 1.214 GB, free: 15.33 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/1.076, allocations: 1.422 MB / 1.216 GB, free: 14.56 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.076, allocations: 3.016 kB / 1.216 GB, free: 14.56 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/1.077, allocations: 129.3 kB / 1.216 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/1.077, allocations: 10.12 kB / 1.216 GB, free: 14.54 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/1.077, allocations: 19.97 kB / 1.216 GB, free: 14.53 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/1.077, allocations: 6.734 kB / 1.216 GB, free: 14.53 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/1.077, allocations: 6.469 kB / 1.216 GB, free: 14.53 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/1.079, allocations: 1.078 MB / 1.217 GB, free: 13.97 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/1.079, allocations: 91.56 kB / 1.217 GB, free: 13.91 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.617e-05/1.079, allocations: 19.72 kB / 1.217 GB, free: 13.89 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/1.08, allocations: 49.78 kB / 1.217 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.966e-05/1.08, allocations: 45.41 kB / 1.217 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/1.08, allocations: 23.44 kB / 1.217 GB, free: 13.87 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006712/1.081, allocations: 404.1 kB / 1.218 GB, free: 13.69 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.081, allocations: 3.938 kB / 1.218 GB, free: 13.68 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001124/1.082, allocations: 346 kB / 1.218 GB, free: 13.57 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (noLimPID.D.x,noLimPID.I.y,limPD.D.x,limPI.I.y,limPID.D.x,limPID.I.y) * 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.0002243/1.082, allocations: 119.2 kB / 1.218 GB, free: 13.46 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00247/1.084, allocations: 1.13 MB / 1.219 GB, free: 12.95 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.084, allocations: 1.062 kB / 1.219 GB, free: 12.95 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000623/1.085, allocations: 288.8 kB / 1.22 GB, free: 12.86 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009329/1.086, allocations: 175.8 kB / 1.22 GB, free: 12.79 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/1.089, allocations: 1.503 MB / 1.221 GB, free: 11.91 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/1.089, allocations: 391.7 kB / 1.222 GB, free: 11.79 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004272/1.09, allocations: 88.61 kB / 1.222 GB, free: 11.77 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/1.09, allocations: 59.3 kB / 1.222 GB, free: 11.77 MB / 1.092 GB Notification: Performance of SimCode: time 9.12e-07/1.09, allocations: 0 / 1.222 GB, free: 11.77 MB / 1.092 GB Notification: Performance of Templates: time 0.02403/1.114, allocations: 9.902 MB / 1.231 GB, free: 10.08 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.616074181045406]