Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.68/2.68, allocations: 390.5 MB / 398 MB, free: 10.94 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.001005/0.001005, allocations: 176.9 kB / 491.2 MB, free: 1.594 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.676/1.676, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.000975/0.0009756, allocations: 106.4 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.112e-05, allocations: 7.438 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3378, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.381, allocations: 154.4 MB / 1.363 GB, free: 17.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/1.381, allocations: 88.92 kB / 1.363 GB, free: 17.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05604/1.437, allocations: 24.22 MB / 1.387 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/1.437, allocations: 0 / 1.387 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001524/1.438, allocations: 31.16 kB / 1.387 GB, free: 27.68 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003407/1.441, allocations: 1.302 MB / 1.388 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/1.441, allocations: 11.69 kB / 1.388 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007766/1.442, allocations: 158.2 kB / 1.388 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/1.444, allocations: 0.7634 MB / 1.389 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-05/1.444, allocations: 34.31 kB / 1.389 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/1.444, allocations: 72.22 kB / 1.389 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0015/1.446, allocations: 0.6315 MB / 1.39 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/1.447, allocations: 0.8434 MB / 1.391 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/1.447, allocations: 3.938 kB / 1.391 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/1.447, allocations: 3.875 kB / 1.391 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/1.447, allocations: 26.12 kB / 1.391 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00541/1.453, allocations: 3.459 MB / 1.394 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/1.454, allocations: 0.8007 MB / 1.395 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005213/1.455, allocations: 392.1 kB / 1.395 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.708e-05/1.455, allocations: 12.19 kB / 1.395 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006301/1.455, allocations: 347.7 kB / 1.396 GB, free: 23.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=92): time 4.598e-06/1.455, allocations: 0 / 1.396 GB, free: 23.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=92): time 0.0013/1.457, allocations: 0.6058 MB / 1.396 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/1.457, allocations: 217.6 kB / 1.396 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/1.458, allocations: 0.5833 MB / 1.397 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/1.458, allocations: 29.58 kB / 1.397 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/1.459, allocations: 0.5291 MB / 1.397 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/1.459, allocations: 288 kB / 1.398 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/1.459, allocations: 3.938 kB / 1.398 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002087/1.459, allocations: 337 kB / 1.398 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/1.46, allocations: 251.9 kB / 1.398 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/1.46, allocations: 410.3 kB / 1.399 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007332/1.461, allocations: 299.1 kB / 1.399 GB, free: 22.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.461, allocations: 4 kB / 1.399 GB, free: 22.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001448/1.463, allocations: 0.7674 MB / 1.4 GB, free: 21.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004054/1.463, allocations: 0.6526 MB / 1.4 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.463, allocations: 3.984 kB / 1.4 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.574e-05/1.463, allocations: 11.78 kB / 1.4 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/1.464, allocations: 197.9 kB / 1.401 GB, free: 21.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/1.464, allocations: 7.797 kB / 1.401 GB, free: 21.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007654/1.465, allocations: 151.5 kB / 1.401 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/1.465, allocations: 35.02 kB / 1.401 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.465, allocations: 4.938 kB / 1.401 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001011/1.466, allocations: 0.6196 MB / 1.401 GB, free: 21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.466, allocations: 3.844 kB / 1.401 GB, free: 21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/1.466, allocations: 11.7 kB / 1.401 GB, free: 20.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/1.466, allocations: 154.4 kB / 1.402 GB, free: 20.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.466, allocations: 7.438 kB / 1.402 GB, free: 20.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/1.467, allocations: 108.6 kB / 1.402 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-05/1.467, allocations: 31.11 kB / 1.402 GB, free: 20.91 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * 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.0002075/1.467, allocations: 124.3 kB / 1.402 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/1.467, allocations: 101 kB / 1.402 GB, free: 20.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/1.468, allocations: 95.34 kB / 1.402 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.547e-06/1.468, allocations: 11.61 kB / 1.402 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.468, allocations: 0 / 1.402 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/1.468, allocations: 3.984 kB / 1.402 GB, free: 20.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/1.47, allocations: 1.514 MB / 1.403 GB, free: 20.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.47, allocations: 3.938 kB / 1.403 GB, free: 20.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006558/1.47, allocations: 181.6 kB / 1.404 GB, free: 20.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/1.47, allocations: 3.844 kB / 1.404 GB, free: 20.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/1.47, allocations: 7.797 kB / 1.404 GB, free: 20.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.47, allocations: 0 / 1.404 GB, free: 20.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.47, allocations: 0 / 1.404 GB, free: 20.08 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/1.472, allocations: 1.046 MB / 1.405 GB, free: 19.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/1.472, allocations: 180.8 kB / 1.405 GB, free: 19.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-05/1.472, allocations: 7.859 kB / 1.405 GB, free: 19.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/1.473, allocations: 58.38 kB / 1.405 GB, free: 19.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/1.473, allocations: 58.33 kB / 1.405 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/1.473, allocations: 21.09 kB / 1.405 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005416/1.473, allocations: 450.7 kB / 1.405 GB, free: 19.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.473, allocations: 0 / 1.405 GB, free: 19.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001011/1.474, allocations: 367.5 kB / 1.406 GB, free: 19.39 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002518/1.475, allocations: 133.5 kB / 1.406 GB, free: 19.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001653/1.476, allocations: 1.128 MB / 1.407 GB, free: 18.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.476, allocations: 0 / 1.407 GB, free: 18.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003884/1.477, allocations: 306.4 kB / 1.407 GB, free: 18.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009774/1.478, allocations: 193.9 kB / 1.407 GB, free: 18.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/1.48, allocations: 1.362 MB / 1.409 GB, free: 17 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/1.481, allocations: 1.11 MB / 1.41 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007044/1.481, allocations: 163.1 kB / 1.41 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/1.482, allocations: 66.98 kB / 1.41 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of SimCode: time 1.032e-06/1.482, allocations: 0 / 1.41 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of Templates: time 0.01975/1.501, allocations: 11.08 MB / 1.421 GB, free: 4.684 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches