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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001705/0.001705, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001849/0.001849, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.531/2.531, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.27 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3601, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003417/0.3636, allocations: 1.865 MB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.3655, allocations: 1.263 MB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.3657, allocations: 8 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.366, allocations: 71.19 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.3662, allocations: 59.39 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.3666, allocations: 163.8 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.3671, allocations: 493 kB / 1.031 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004451/0.3675, allocations: 275.4 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.3677, allocations: 175.3 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.368, allocations: 198.9 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.026e-05/0.3681, allocations: 56 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-05/0.3681, allocations: 52 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.3682, allocations: 107.6 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.3684, allocations: 214.8 kB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.369, allocations: 0.5837 MB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.369, allocations: 4 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.795e-06/0.369, allocations: 0 / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.369, allocations: 4 kB / 1.032 GB, free: 12.43 MB / 0.8106 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.001354/0.3704, allocations: 0.729 MB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3704, allocations: 12.03 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.419e-05/0.3705, allocations: 52.38 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.3711, allocations: 348.3 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.3711, allocations: 29.38 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.3712, allocations: 36.38 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006487/0.3718, allocations: 419.5 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3719, allocations: 192 / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.3719, allocations: 19.94 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3719, allocations: 8 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.3725, allocations: 279.8 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.3744, allocations: 1.37 MB / 1.035 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.375, allocations: 249.7 kB / 1.036 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.3753, allocations: 116.7 kB / 1.036 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.3753, allocations: 3.984 kB / 1.036 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.3753, allocations: 50.42 kB / 1.036 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.3753, allocations: 0 / 1.036 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0006452/0.376, allocations: 294.5 kB / 1.036 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.376, allocations: 106.8 kB / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/0.3765, allocations: 405.5 kB / 1.037 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.3765, allocations: 33.7 kB / 1.037 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.3767, allocations: 251.7 kB / 1.037 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.3768, allocations: 67 kB / 1.037 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3769, allocations: 69.92 kB / 1.037 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.377, allocations: 350.8 kB / 1.037 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.3773, allocations: 110.1 kB / 1.037 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.3776, allocations: 216.3 kB / 1.038 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.3781, allocations: 269.8 kB / 1.038 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.3781, allocations: 4 kB / 1.038 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006416/0.3787, allocations: 360.9 kB / 1.038 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3788, allocations: 14.64 kB / 1.038 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3788, allocations: 0 / 1.038 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3788, allocations: 7.938 kB / 1.038 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.3791, allocations: 67.91 kB / 1.038 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3791, allocations: 4.219 kB / 1.038 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.3793, allocations: 67.5 kB / 1.038 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.3794, allocations: 12 kB / 1.038 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002569/0.3796, allocations: 200.8 kB / 1.039 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002237/0.3798, allocations: 187.3 kB / 1.039 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003154/0.3802, allocations: 238 kB / 1.039 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.278e-06/0.3802, allocations: 4 kB / 1.039 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004996/0.3807, allocations: 311.1 kB / 1.039 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.996e-06/0.3807, allocations: 8 kB / 1.039 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3807, allocations: 4 kB / 1.039 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-06/0.3807, allocations: 4.219 kB / 1.039 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.381, allocations: 67.84 kB / 1.039 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.381, allocations: 4 kB / 1.039 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.3812, allocations: 39.72 kB / 1.039 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.3812, allocations: 19.94 kB / 1.039 GB, free: 4.617 MB / 0.8106 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.0001407/0.3813, allocations: 201.4 kB / 1.04 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.3814, allocations: 31.62 kB / 1.04 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004967/0.3819, allocations: 245 kB / 1.04 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.3819, allocations: 4 kB / 1.04 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3819, allocations: 0 / 1.04 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.382, allocations: 3.984 kB / 1.04 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.3832, allocations: 0.7832 MB / 1.041 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3832, allocations: 7.922 kB / 1.041 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.3834, allocations: 35.98 kB / 1.041 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.3834, allocations: 7.984 kB / 1.041 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.3834, allocations: 4 kB / 1.041 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3834, allocations: 8.156 kB / 1.041 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3834, allocations: 3.938 kB / 1.041 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000668/0.3841, allocations: 461.4 kB / 1.041 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.954e-05/0.3842, allocations: 120.7 kB / 1.041 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.3843, allocations: 8 kB / 1.041 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3844, allocations: 11.98 kB / 1.041 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.3845, allocations: 27.86 kB / 1.041 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3845, allocations: 7.984 kB / 1.041 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002899/0.3848, allocations: 287.2 kB / 1.042 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3848, allocations: 0 / 1.042 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004712/0.3853, allocations: 131.4 kB / 1.042 GB, free: 2.129 MB / 0.8106 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.0001488/0.3854, allocations: 107.2 kB / 1.042 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007543/0.3862, allocations: 403.4 kB / 1.042 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3862, allocations: 0 / 1.042 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.3864, allocations: 96.95 kB / 1.042 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.3869, allocations: 74.59 kB / 1.042 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.3882, allocations: 0.6664 MB / 1.043 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.3885, allocations: 0.7918 MB / 1.044 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.3887, allocations: 51.42 kB / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.3888, allocations: 31.44 kB / 1.044 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3888, allocations: 0 / 1.044 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of Templates: time 0.007348/0.3961, allocations: 3.456 MB / 1.047 GB, free: 12.42 MB / 0.8262 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 -s cvode -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/jenkins1/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