Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.243/2.243, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 168 kB / 0.4902 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.713/1.713, allocations: 223.1 MB / 0.7992 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 110.1 kB / 0.9396 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 12.59 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3181, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.5064, allocations: 151.7 MB / 1.377 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.5067, allocations: 79.95 kB / 1.377 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03719/0.5439, allocations: 13.82 MB / 1.391 GB, free: 3.738 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.504e-06/0.5439, allocations: 4 kB / 1.391 GB, free: 3.734 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.713e-05/0.544, allocations: 24 kB / 1.391 GB, free: 3.711 MB / 0.8855 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.00311/0.5471, allocations: 1.141 MB / 1.392 GB, free: 2.516 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/0.5472, allocations: 8.562 kB / 1.392 GB, free: 2.508 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005683/0.5478, allocations: 122.5 kB / 1.392 GB, free: 2.387 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.5492, allocations: 0.5296 MB / 1.393 GB, free: 1.816 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-05/0.5493, allocations: 74 kB / 1.393 GB, free: 1.746 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.5495, allocations: 99.91 kB / 1.393 GB, free: 1.648 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.5512, allocations: 0.8784 MB / 1.394 GB, free: 0.7461 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.5512, allocations: 0 / 1.394 GB, free: 0.7461 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.081e-05/0.5513, allocations: 39.98 kB / 1.394 GB, free: 0.707 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.5514, allocations: 24 kB / 1.394 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.5526, allocations: 0.6519 MB / 1.394 GB, free: 32 kB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004385/0.557, allocations: 2.625 MB / 1.397 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.5587, allocations: 1.354 MB / 1.398 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.944e-05/0.5587, allocations: 8.656 kB / 1.398 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008521/0.5596, allocations: 376.3 kB / 1.399 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=77): time 6.362e-06/0.5596, allocations: 11.94 kB / 1.399 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of matching and sorting (n=77): time 0.001692/0.5613, allocations: 0.8719 MB / 1.4 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.5614, allocations: 170.8 kB / 1.4 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006286/0.562, allocations: 0.5072 MB / 1.4 GB, free: 9.836 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/0.5621, allocations: 45.7 kB / 1.4 GB, free: 9.785 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.5624, allocations: 392.3 kB / 1.401 GB, free: 9.395 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.5626, allocations: 256.2 kB / 1.401 GB, free: 9.141 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.5627, allocations: 20 kB / 1.401 GB, free: 9.121 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.5629, allocations: 386.7 kB / 1.401 GB, free: 8.734 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.5634, allocations: 245.9 kB / 1.402 GB, free: 8.492 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006029/0.5641, allocations: 367.6 kB / 1.402 GB, free: 8.102 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.5646, allocations: 290.9 kB / 1.402 GB, free: 7.82 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5647, allocations: 0 / 1.402 GB, free: 7.82 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001301/0.566, allocations: 0.7231 MB / 1.403 GB, free: 7.09 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.925e-05/0.5661, allocations: 182 kB / 1.403 GB, free: 6.898 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5661, allocations: 4 kB / 1.403 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.5661, allocations: 11.89 kB / 1.403 GB, free: 6.883 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.5668, allocations: 163.8 kB / 1.403 GB, free: 6.723 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.5668, allocations: 4 kB / 1.403 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.5672, allocations: 111.3 kB / 1.403 GB, free: 6.609 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.5673, allocations: 24 kB / 1.403 GB, free: 6.586 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.5673, allocations: 4 kB / 1.403 GB, free: 6.582 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008409/0.5682, allocations: 0.5076 MB / 1.404 GB, free: 6.074 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.5682, allocations: 4.031 kB / 1.404 GB, free: 6.07 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-06/0.5682, allocations: 7.984 kB / 1.404 GB, free: 6.062 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.5687, allocations: 135.8 kB / 1.404 GB, free: 5.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.5687, allocations: 0 / 1.404 GB, free: 5.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.569, allocations: 87.34 kB / 1.404 GB, free: 5.844 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.5691, allocations: 20 kB / 1.404 GB, free: 5.824 MB / 0.9011 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000381/0.5695, allocations: 296.9 kB / 1.404 GB, free: 5.523 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.056e-05/0.5696, allocations: 75.06 kB / 1.404 GB, free: 5.449 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.5708, allocations: 0.6889 MB / 1.405 GB, free: 4.754 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.5708, allocations: 11.94 kB / 1.405 GB, free: 4.742 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.5708, allocations: 4 kB / 1.405 GB, free: 4.738 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.5708, allocations: 7.984 kB / 1.405 GB, free: 4.73 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.5735, allocations: 1.749 MB / 1.407 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.5735, allocations: 7.984 kB / 1.407 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/0.5742, allocations: 147.8 kB / 1.407 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.5742, allocations: 7.953 kB / 1.407 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.5742, allocations: 24.12 kB / 1.407 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.5742, allocations: 4 kB / 1.407 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5743, allocations: 3.938 kB / 1.407 GB, free: 2.715 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.5761, allocations: 1.193 MB / 1.408 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.5763, allocations: 172 kB / 1.408 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-05/0.5764, allocations: 19.95 kB / 1.408 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.5768, allocations: 55.95 kB / 1.408 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.5769, allocations: 52.53 kB / 1.409 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.5769, allocations: 27.98 kB / 1.409 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005171/0.5774, allocations: 411.1 kB / 1.409 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5774, allocations: 0 / 1.409 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000807/0.5783, allocations: 307.3 kB / 1.409 GB, free: 428 kB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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.0002202/0.5785, allocations: 132 kB / 1.409 GB, free: 284 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.5802, allocations: 0.9073 MB / 1.41 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.5802, allocations: 4 kB / 1.41 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005162/0.5807, allocations: 331.8 kB / 1.411 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.5814, allocations: 136.1 kB / 1.411 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.5838, allocations: 1.85 MB / 1.412 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/0.5844, allocations: 1.002 MB / 1.413 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003344/0.5847, allocations: 85.31 kB / 1.414 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.5849, allocations: 59.42 kB / 1.414 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.5849, allocations: 0 / 1.414 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of Templates: time 0.01273/0.5976, allocations: 6.911 MB / 1.42 GB, free: 4.984 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches