Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 108.6 kB / 16.41 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001923, allocations: 186.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 75.89 kB / 1.055 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.005032/1.038, allocations: 3.309 MB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003252/1.041, allocations: 1.731 MB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005332/1.042, allocations: 23.94 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004362/1.042, allocations: 162.2 kB / 1.214 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002879/1.042, allocations: 118.7 kB / 1.214 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00075/1.043, allocations: 355.5 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001065/1.044, allocations: 1.08 MB / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000937/1.045, allocations: 0.6311 MB / 1.216 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/1.046, allocations: 406.3 kB / 1.216 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/1.046, allocations: 449.6 kB / 1.217 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/1.046, allocations: 120 kB / 1.217 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/1.046, allocations: 116 kB / 1.217 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002122/1.047, allocations: 255.1 kB / 1.217 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004102/1.047, allocations: 485.3 kB / 1.217 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/1.048, allocations: 1.305 MB / 1.219 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/1.048, allocations: 0 / 1.219 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.346e-06/1.048, allocations: 4 kB / 1.219 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.604e-05/1.048, allocations: 0 / 1.219 GB, free: 3.039 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002207/1.051, allocations: 1.286 MB / 1.22 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/1.051, allocations: 12.02 kB / 1.22 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/1.051, allocations: 119.5 kB / 1.22 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007804/1.052, allocations: 0.5559 MB / 1.221 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/1.052, allocations: 74.31 kB / 1.221 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/1.052, allocations: 92.38 kB / 1.221 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/1.053, allocations: 0.875 MB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/1.053, allocations: 192 / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.549e-05/1.054, allocations: 51.88 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/1.054, allocations: 20 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/1.055, allocations: 0.6168 MB / 1.222 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/1.059, allocations: 2.79 MB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/1.06, allocations: 1.309 MB / 1.226 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006451/1.061, allocations: 402 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.605e-05/1.061, allocations: 8.656 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006606/1.062, allocations: 352.4 kB / 1.227 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=74): time 2.564e-06/1.062, allocations: 0 / 1.227 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=74): time 0.001628/1.063, allocations: 0.821 MB / 1.228 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/1.063, allocations: 166.9 kB / 1.228 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006571/1.064, allocations: 0.5576 MB / 1.229 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/1.064, allocations: 45.7 kB / 1.229 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/1.064, allocations: 396.3 kB / 1.229 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/1.065, allocations: 252.2 kB / 1.229 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/1.065, allocations: 126.7 kB / 1.229 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.065, allocations: 378.8 kB / 1.23 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005397/1.066, allocations: 252.7 kB / 1.23 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/1.066, allocations: 361.2 kB / 1.23 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009986/1.067, allocations: 0.5409 MB / 1.231 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.067, allocations: 0 / 1.231 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001327/1.069, allocations: 0.7035 MB / 1.232 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.069, allocations: 16.03 kB / 1.232 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.069, allocations: 0 / 1.232 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/1.069, allocations: 4 kB / 1.232 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/1.069, allocations: 151.8 kB / 1.232 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/1.069, allocations: 4 kB / 1.232 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/1.07, allocations: 99.25 kB / 1.232 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/1.07, allocations: 24 kB / 1.232 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006027/1.07, allocations: 350.1 kB / 1.232 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004461/1.071, allocations: 313.1 kB / 1.232 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007302/1.072, allocations: 462 kB / 1.233 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/1.072, allocations: 7.938 kB / 1.233 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0009741/1.073, allocations: 0.606 MB / 1.233 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.073, allocations: 6.031 kB / 1.233 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/1.073, allocations: 4.094 kB / 1.234 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.521e-06/1.073, allocations: 8 kB / 1.234 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/1.073, allocations: 135.8 kB / 1.234 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/1.073, allocations: 4 kB / 1.234 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/1.073, allocations: 83.39 kB / 1.234 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/1.073, allocations: 23.94 kB / 1.234 GB, free: 3.125 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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.0002173/1.074, allocations: 220.1 kB / 1.234 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/1.074, allocations: 79.09 kB / 1.234 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/1.075, allocations: 0.6378 MB / 1.235 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.075, allocations: 3.984 kB / 1.235 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.075, allocations: 0 / 1.235 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/1.075, allocations: 164 kB / 1.235 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/1.075, allocations: 20 kB / 1.235 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/1.076, allocations: 39.95 kB / 1.235 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/1.076, allocations: 40.59 kB / 1.235 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001531/1.077, allocations: 0.7545 MB / 1.236 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001688/1.079, allocations: 1.138 MB / 1.237 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000472/1.079, allocations: 293.1 kB / 1.237 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00044/1.08, allocations: 398.8 kB / 1.237 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of Backend: time 9.62e-07/1.08, allocations: 0 / 1.237 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001659/1.081, allocations: 0.7675 MB / 1.238 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002345/1.084, allocations: 1.819 MB / 1.24 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of Templates: time 0.01697/1.101, allocations: 10.09 MB / 1.25 GB, free: 2.625 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches