Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008678/0.008678, allocations: 105.8 kB / 15.74 MB, free: 5.992 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.002067/0.002067, allocations: 194.3 kB / 16.67 MB, free: 5.914 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.88 kB / 1.054 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.004, 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.PIDInitialState): time 0.003372/1.008, allocations: 1.841 MB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001938/1.01, allocations: 1.267 MB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/1.01, allocations: 4 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002526/1.01, allocations: 75.2 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/1.01, allocations: 59.44 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/1.011, allocations: 163.7 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000486/1.011, allocations: 493 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005152/1.012, allocations: 271.4 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/1.012, allocations: 187.2 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/1.012, allocations: 191 kB / 1.212 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.504e-05/1.012, allocations: 56 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.81e-05/1.012, allocations: 52 kB / 1.212 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.07e-05/1.013, allocations: 107.6 kB / 1.212 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/1.013, allocations: 214.8 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005475/1.013, allocations: 0.5759 MB / 1.213 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.013, allocations: 7.938 kB / 1.213 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/1.013, allocations: 4 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.08e-05/1.013, allocations: 0 / 1.213 GB, free: 8.047 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001249/1.015, allocations: 0.7348 MB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.015, allocations: 12.03 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.436e-05/1.015, allocations: 52.28 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/1.015, allocations: 344.3 kB / 1.214 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/1.015, allocations: 33.38 kB / 1.214 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/1.015, allocations: 36.38 kB / 1.214 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006652/1.016, allocations: 419.5 kB / 1.215 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/1.016, allocations: 192 / 1.215 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/1.016, allocations: 19.94 kB / 1.215 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/1.016, allocations: 8 kB / 1.215 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/1.017, allocations: 287.8 kB / 1.215 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/1.019, allocations: 1.37 MB / 1.216 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007465/1.019, allocations: 250.9 kB / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/1.02, allocations: 116.8 kB / 1.217 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/1.02, allocations: 4 kB / 1.217 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/1.02, allocations: 38.5 kB / 1.217 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/1.02, allocations: 3.938 kB / 1.217 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0007257/1.02, allocations: 294.5 kB / 1.217 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/1.02, allocations: 106.8 kB / 1.217 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/1.021, allocations: 401.6 kB / 1.218 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/1.021, allocations: 33.7 kB / 1.218 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/1.021, allocations: 251.6 kB / 1.218 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.958e-05/1.021, allocations: 71 kB / 1.218 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/1.021, allocations: 73.92 kB / 1.218 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.022, allocations: 350.8 kB / 1.218 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/1.022, allocations: 114.1 kB / 1.218 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/1.022, allocations: 208.3 kB / 1.219 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/1.023, allocations: 273.9 kB / 1.219 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.023, allocations: 4 kB / 1.219 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000702/1.023, allocations: 371 kB / 1.219 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.023, allocations: 10.34 kB / 1.219 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.023, allocations: 48 / 1.219 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/1.024, allocations: 11.92 kB / 1.219 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/1.024, allocations: 75.89 kB / 1.219 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/1.024, allocations: 4 kB / 1.219 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/1.024, allocations: 55.73 kB / 1.219 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/1.024, allocations: 15.98 kB / 1.219 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002465/1.024, allocations: 196.8 kB / 1.22 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002231/1.025, allocations: 183.3 kB / 1.22 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003/1.025, allocations: 227.6 kB / 1.22 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/1.025, allocations: 4 kB / 1.22 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004746/1.025, allocations: 318.7 kB / 1.22 GB, free: 380 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/1.025, allocations: 4 kB / 1.22 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/1.025, allocations: 4 kB / 1.22 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.409e-06/1.025, allocations: 4.219 kB / 1.22 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/1.026, allocations: 67.86 kB / 1.22 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.026, allocations: 3.984 kB / 1.22 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/1.026, allocations: 35.73 kB / 1.22 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/1.026, allocations: 16 kB / 1.22 GB, free: 244 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001459/1.026, allocations: 192.2 kB / 1.221 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/1.026, allocations: 35.53 kB / 1.221 GB, free: 8 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005094/1.027, allocations: 248.9 kB / 1.221 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/1.027, allocations: 4 kB / 1.221 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.027, allocations: 0 / 1.221 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.027, allocations: 0 / 1.221 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/1.028, allocations: 0.79 MB / 1.222 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.028, allocations: 4 kB / 1.222 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/1.028, allocations: 47.91 kB / 1.222 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-05/1.028, allocations: 7.938 kB / 1.222 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/1.028, allocations: 4 kB / 1.222 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.028, allocations: 160 / 1.222 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.028, allocations: 8 kB / 1.222 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007661/1.029, allocations: 465.9 kB / 1.222 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/1.029, allocations: 124.6 kB / 1.222 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/1.029, allocations: 4 kB / 1.222 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/1.029, allocations: 19.97 kB / 1.222 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/1.029, allocations: 23.86 kB / 1.222 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/1.029, allocations: 12 kB / 1.222 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002906/1.03, allocations: 283.2 kB / 1.223 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.03, allocations: 0 / 1.223 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004886/1.03, allocations: 127.5 kB / 1.223 GB, free: 13.74 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0001745/1.03, allocations: 107.2 kB / 1.223 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007735/1.031, allocations: 391.5 kB / 1.223 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.031, allocations: 0 / 1.223 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/1.031, allocations: 97.02 kB / 1.223 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/1.032, allocations: 74.16 kB / 1.223 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/1.033, allocations: 0.6707 MB / 1.224 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/1.034, allocations: 0.7996 MB / 1.225 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001464/1.034, allocations: 39.41 kB / 1.225 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.611e-05/1.034, allocations: 27.44 kB / 1.225 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/1.034, allocations: 4 kB / 1.225 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of Templates: time 0.008246/1.042, allocations: 3.611 MB / 1.228 GB, free: 7.895 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches