Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.3/2.3, allocations: 390.5 MB / 398 MB, free: 10.99 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.001483/0.001484, allocations: 183.8 kB / 491.2 MB, free: 1.617 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.781/1.781, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.0008396/0.0008398, allocations: 91.84 kB / 0.9269 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.043e-05, allocations: 12 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2585, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8263/1.085, allocations: 151.4 MB / 1.36 GB, free: 17.65 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/1.085, allocations: 73.81 kB / 1.36 GB, free: 17.65 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03612/1.121, allocations: 15.99 MB / 1.376 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.703e-06/1.121, allocations: 3.812 kB / 1.376 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.008e-05/1.121, allocations: 19.41 kB / 1.376 GB, free: 32.25 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001554/1.123, allocations: 1.077 MB / 1.377 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.123, allocations: 7.688 kB / 1.377 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/1.123, allocations: 123.5 kB / 1.377 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/1.124, allocations: 0.5564 MB / 1.378 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/1.124, allocations: 26.78 kB / 1.378 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-05/1.124, allocations: 57.94 kB / 1.378 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007727/1.125, allocations: 0.4896 MB / 1.378 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/1.126, allocations: 0.6779 MB / 1.379 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/1.126, allocations: 0 / 1.379 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/1.126, allocations: 0 / 1.379 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/1.126, allocations: 23.03 kB / 1.379 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/1.129, allocations: 2.589 MB / 1.381 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009436/1.13, allocations: 0.5789 MB / 1.382 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/1.131, allocations: 329 kB / 1.382 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.114e-05/1.131, allocations: 8.375 kB / 1.382 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004692/1.131, allocations: 300.8 kB / 1.383 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=75): time 2.444e-06/1.131, allocations: 0 / 1.383 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75): time 0.0007628/1.132, allocations: 0.508 MB / 1.383 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/1.132, allocations: 196 kB / 1.383 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/1.132, allocations: 456.8 kB / 1.384 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/1.133, allocations: 33.5 kB / 1.384 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/1.133, allocations: 413.1 kB / 1.384 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/1.133, allocations: 242.9 kB / 1.384 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/1.133, allocations: 4 kB / 1.384 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.133, allocations: 381.4 kB / 1.385 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/1.133, allocations: 215.5 kB / 1.385 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/1.134, allocations: 351.9 kB / 1.385 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/1.134, allocations: 254.6 kB / 1.385 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/1.134, allocations: 4 kB / 1.385 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001043/1.135, allocations: 0.6611 MB / 1.386 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002771/1.136, allocations: 0.5578 MB / 1.387 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.136, allocations: 3.625 kB / 1.387 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/1.136, allocations: 7.859 kB / 1.387 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006153/1.136, allocations: 172.3 kB / 1.387 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.136, allocations: 3.781 kB / 1.387 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005845/1.137, allocations: 138.6 kB / 1.387 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/1.137, allocations: 29.08 kB / 1.387 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/1.137, allocations: 5.375 kB / 1.387 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008242/1.138, allocations: 0.5336 MB / 1.388 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/1.138, allocations: 0 / 1.388 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-06/1.138, allocations: 3.969 kB / 1.388 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/1.138, allocations: 135.4 kB / 1.388 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/1.138, allocations: 8.062 kB / 1.388 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/1.139, allocations: 105.9 kB / 1.388 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/1.139, allocations: 26.86 kB / 1.388 GB, free: 26.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($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 (87): * Single equations (assignments): 86 * 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.0001467/1.139, allocations: 120.1 kB / 1.388 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/1.139, allocations: 69.66 kB / 1.388 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007558/1.14, allocations: 0.5349 MB / 1.388 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.14, allocations: 7.875 kB / 1.388 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.14, allocations: 4 kB / 1.388 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/1.14, allocations: 11.94 kB / 1.389 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/1.142, allocations: 1.467 MB / 1.39 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.142, allocations: 3.812 kB / 1.39 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/1.142, allocations: 148 kB / 1.39 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/1.142, allocations: 7.812 kB / 1.39 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/1.142, allocations: 11.83 kB / 1.39 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/1.142, allocations: 3.844 kB / 1.39 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.142, allocations: 3.844 kB / 1.39 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009896/1.143, allocations: 1.04 MB / 1.391 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.143, allocations: 165.1 kB / 1.391 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.227e-05/1.143, allocations: 3.938 kB / 1.391 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/1.144, allocations: 58.39 kB / 1.391 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/1.144, allocations: 50.58 kB / 1.391 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/1.144, allocations: 29.77 kB / 1.391 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003196/1.144, allocations: 344.6 kB / 1.392 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.144, allocations: 4 kB / 1.392 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007824/1.145, allocations: 304.3 kB / 1.392 GB, free: 24.96 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * 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.000229/1.145, allocations: 130.8 kB / 1.392 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001241/1.146, allocations: 0.9842 MB / 1.393 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.147, allocations: 0 / 1.393 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002867/1.147, allocations: 265.8 kB / 1.393 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000783/1.148, allocations: 140.3 kB / 1.394 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/1.149, allocations: 1.085 MB / 1.395 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/1.15, allocations: 1.008 MB / 1.396 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004844/1.15, allocations: 125.4 kB / 1.396 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/1.15, allocations: 50.14 kB / 1.396 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.15, allocations: 3.938 kB / 1.396 GB, free: 23.13 MB / 0.8386 GB Notification: Performance of Templates: time 0.01252/1.163, allocations: 8.699 MB / 1.404 GB, free: 18.9 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_PID.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches