Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007523/0.007523, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001333/0.001333, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.554/2.554, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 72.11 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.114, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.00338/1.118, allocations: 1.847 MB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002097/1.12, allocations: 1.263 MB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/1.12, allocations: 8 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002385/1.121, allocations: 75.19 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001597/1.121, allocations: 63.45 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/1.121, allocations: 175.6 kB / 1.17 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004237/1.122, allocations: 485 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000387/1.122, allocations: 267.5 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/1.122, allocations: 183.2 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/1.122, allocations: 195 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.141e-05/1.122, allocations: 52 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/1.122, allocations: 52 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/1.123, allocations: 107.6 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/1.123, allocations: 222.8 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005287/1.123, allocations: 0.584 MB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.123, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.383e-06/1.123, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.123, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 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.001109/1.124, allocations: 0.752 MB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/1.124, allocations: 8.031 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.619e-05/1.125, allocations: 60.61 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/1.125, allocations: 344.5 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/1.125, allocations: 29.38 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/1.125, allocations: 40.38 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/1.126, allocations: 411.5 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/1.126, allocations: 4.125 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/1.126, allocations: 19.94 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/1.126, allocations: 15.98 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000549/1.126, allocations: 279.9 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/1.128, allocations: 1.374 MB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/1.129, allocations: 248.1 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/1.129, allocations: 116.8 kB / 1.176 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/1.129, allocations: 4 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/1.129, allocations: 38.56 kB / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 1.502e-06/1.129, allocations: 0 / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.0006348/1.13, allocations: 297.2 kB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/1.13, allocations: 110.8 kB / 1.176 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/1.13, allocations: 409.6 kB / 1.176 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/1.13, allocations: 29.7 kB / 1.177 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/1.131, allocations: 252.2 kB / 1.177 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/1.131, allocations: 83.27 kB / 1.177 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/1.131, allocations: 66.03 kB / 1.177 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.131, allocations: 350.7 kB / 1.177 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/1.131, allocations: 114.1 kB / 1.177 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/1.132, allocations: 213.5 kB / 1.178 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/1.132, allocations: 281.9 kB / 1.178 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/1.132, allocations: 0 / 1.178 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006454/1.133, allocations: 361.2 kB / 1.178 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.133, allocations: 4 kB / 1.178 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.133, allocations: 4 kB / 1.178 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.133, allocations: 7.938 kB / 1.178 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/1.133, allocations: 76.11 kB / 1.178 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/1.133, allocations: 4 kB / 1.178 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/1.133, allocations: 55.66 kB / 1.178 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/1.133, allocations: 16 kB / 1.178 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003171/1.134, allocations: 200.8 kB / 1.178 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000223/1.134, allocations: 191.9 kB / 1.179 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000293/1.134, allocations: 229.6 kB / 1.179 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-06/1.134, allocations: 0 / 1.179 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004681/1.135, allocations: 319.2 kB / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/1.135, allocations: 8.219 kB / 1.179 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-06/1.135, allocations: 4 kB / 1.179 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/1.135, allocations: 4 kB / 1.179 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/1.135, allocations: 63.84 kB / 1.179 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.135, allocations: 4 kB / 1.179 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/1.135, allocations: 43.77 kB / 1.179 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/1.135, allocations: 8 kB / 1.179 GB, free: 6.406 MB / 0.9044 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.0001275/1.135, allocations: 200.2 kB / 1.18 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/1.135, allocations: 39.77 kB / 1.18 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004853/1.136, allocations: 244.9 kB / 1.18 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.136, allocations: 0 / 1.18 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.136, allocations: 0 / 1.18 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/1.136, allocations: 4 kB / 1.18 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/1.137, allocations: 0.7872 MB / 1.181 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.137, allocations: 4 kB / 1.181 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/1.137, allocations: 43.91 kB / 1.181 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.137, allocations: 160 / 1.181 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/1.137, allocations: 12 kB / 1.181 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.137, allocations: 7.984 kB / 1.181 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.137, allocations: 0 / 1.181 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007058/1.138, allocations: 466.6 kB / 1.181 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/1.138, allocations: 120.8 kB / 1.181 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/1.138, allocations: 8 kB / 1.181 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/1.139, allocations: 19.98 kB / 1.181 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/1.139, allocations: 24.05 kB / 1.181 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/1.139, allocations: 4 kB / 1.181 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003221/1.139, allocations: 291.2 kB / 1.182 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.139, allocations: 0 / 1.182 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004849/1.139, allocations: 127.7 kB / 1.182 GB, free: 3.906 MB / 0.9044 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.0001795/1.14, allocations: 119.1 kB / 1.182 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007863/1.14, allocations: 395.5 kB / 1.182 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.14, allocations: 0 / 1.182 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/1.141, allocations: 97.02 kB / 1.182 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/1.141, allocations: 70.66 kB / 1.182 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/1.142, allocations: 0.6697 MB / 1.183 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/1.143, allocations: 0.7996 MB / 1.184 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001543/1.143, allocations: 47.25 kB / 1.184 GB, free: 1.652 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.54e-05/1.143, allocations: 31.42 kB / 1.184 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/1.143, allocations: 0 / 1.184 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of Templates: time 0.007455/1.15, allocations: 3.535 MB / 1.187 GB, free: 14.11 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches