Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001113/0.001113, allocations: 181.1 kB / 498.1 MB, free: 5.746 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.761/1.761, allocations: 223.2 MB / 0.7948 GB, free: 18.91 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.0009931/0.0009931, allocations: 107.9 kB / 0.9346 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.000392, allocations: 11.38 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3188, allocations: 142.4 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2285/0.5473, allocations: 151 MB / 1.37 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.5476, allocations: 71.97 kB / 1.37 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03476/0.5824, allocations: 13.83 MB / 1.384 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5825, allocations: 0 / 1.384 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.109e-05/0.5825, allocations: 27.98 kB / 1.384 GB, free: 4.477 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.001934/0.5844, allocations: 1.149 MB / 1.385 GB, free: 3.273 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.5845, allocations: 12.03 kB / 1.385 GB, free: 3.262 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.5847, allocations: 118.6 kB / 1.385 GB, free: 3.145 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008254/0.5855, allocations: 0.5335 MB / 1.386 GB, free: 2.57 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/0.5856, allocations: 70 kB / 1.386 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.5857, allocations: 95.91 kB / 1.386 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.5872, allocations: 0.8784 MB / 1.387 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.5872, allocations: 0 / 1.387 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.828e-05/0.5873, allocations: 40 kB / 1.387 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.5873, allocations: 24 kB / 1.387 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.5886, allocations: 0.6518 MB / 1.387 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/0.5925, allocations: 2.629 MB / 1.39 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.5942, allocations: 1.359 MB / 1.391 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.703e-05/0.5942, allocations: 8.656 kB / 1.391 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007329/0.595, allocations: 376.4 kB / 1.392 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=77): time 3.537e-06/0.595, allocations: 0 / 1.392 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of matching and sorting (n=77): time 0.001671/0.5967, allocations: 0.8758 MB / 1.392 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.5968, allocations: 166.8 kB / 1.393 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006686/0.5975, allocations: 0.515 MB / 1.393 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/0.5975, allocations: 41.7 kB / 1.393 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.5978, allocations: 392.3 kB / 1.394 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.598, allocations: 264.1 kB / 1.394 GB, free: 9.891 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.5981, allocations: 12 kB / 1.394 GB, free: 9.879 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.5982, allocations: 386.7 kB / 1.394 GB, free: 9.492 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/0.5988, allocations: 249.9 kB / 1.394 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/0.5994, allocations: 363.4 kB / 1.395 GB, free: 8.863 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/0.5999, allocations: 282.9 kB / 1.395 GB, free: 8.59 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.5999, allocations: 0 / 1.395 GB, free: 8.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00135/0.6013, allocations: 0.7232 MB / 1.396 GB, free: 7.855 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.213e-05/0.6014, allocations: 190 kB / 1.396 GB, free: 7.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.6014, allocations: 0 / 1.396 GB, free: 7.66 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.6014, allocations: 11.89 kB / 1.396 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/0.6021, allocations: 163.8 kB / 1.396 GB, free: 7.488 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.6021, allocations: 4 kB / 1.396 GB, free: 7.484 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.6025, allocations: 111.2 kB / 1.396 GB, free: 7.379 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.6025, allocations: 20 kB / 1.396 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.6026, allocations: 4.938 kB / 1.396 GB, free: 7.355 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007944/0.6034, allocations: 0.5154 MB / 1.397 GB, free: 6.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.6034, allocations: 0 / 1.397 GB, free: 6.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.6034, allocations: 4 kB / 1.397 GB, free: 6.836 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.6039, allocations: 127.8 kB / 1.397 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.6039, allocations: 7.984 kB / 1.397 GB, free: 6.703 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.6042, allocations: 87.39 kB / 1.397 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.6042, allocations: 27.92 kB / 1.397 GB, free: 6.59 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.0003873/0.6046, allocations: 297 kB / 1.397 GB, free: 6.289 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-05/0.6047, allocations: 75.06 kB / 1.397 GB, free: 6.215 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.6059, allocations: 0.6889 MB / 1.398 GB, free: 5.516 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.606, allocations: 11.94 kB / 1.398 GB, free: 5.504 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.606, allocations: 0 / 1.398 GB, free: 5.504 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.606, allocations: 3.984 kB / 1.398 GB, free: 5.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.6084, allocations: 1.749 MB / 1.4 GB, free: 3.676 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.6085, allocations: 4 kB / 1.4 GB, free: 3.672 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.6091, allocations: 148 kB / 1.4 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.6091, allocations: 7.953 kB / 1.4 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.6092, allocations: 23.94 kB / 1.4 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.6092, allocations: 7.984 kB / 1.4 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6092, allocations: 0 / 1.4 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.6109, allocations: 1.201 MB / 1.401 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.611, allocations: 164 kB / 1.401 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.6111, allocations: 19.94 kB / 1.401 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.6115, allocations: 59.97 kB / 1.401 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.6116, allocations: 40.59 kB / 1.401 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.6116, allocations: 27.98 kB / 1.401 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000455/0.6121, allocations: 415.1 kB / 1.402 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6121, allocations: 0 / 1.402 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007293/0.6128, allocations: 303.3 kB / 1.402 GB, free: 1.191 MB / 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.0002854/0.6131, allocations: 146.9 kB / 1.402 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.6147, allocations: 0.9112 MB / 1.403 GB, free: 128 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6147, allocations: 0 / 1.403 GB, free: 128 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.5745/1.189, allocations: 330.4 kB / 1.403 GB, free: 170.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009092/1.19, allocations: 128.2 kB / 1.404 GB, free: 170.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/1.193, allocations: 1.848 MB / 1.405 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/1.194, allocations: 1.003 MB / 1.406 GB, free: 169 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004354/1.194, allocations: 81.86 kB / 1.406 GB, free: 169 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/1.194, allocations: 62.86 kB / 1.406 GB, free: 169 MB / 0.9011 GB Notification: Performance of SimCode: time 1.112e-06/1.194, allocations: 0 / 1.406 GB, free: 169 MB / 0.9011 GB Notification: Performance of Templates: time 0.01978/1.214, allocations: 6.921 MB / 1.413 GB, free: 168.7 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches