Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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.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_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.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_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009097/0.0009101, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007345/0.007345, allocations: 171.2 kB / 16.26 MB, free: 6.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.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.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.702/2.702, allocations: 437.8 MB / 0.7121 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003624, allocations: 15.98 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8494/0.8498, allocations: 153.8 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004237/0.8541, allocations: 3.128 MB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003939/0.8581, allocations: 2.074 MB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.8592, allocations: 19.94 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006125/0.8598, allocations: 130.8 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007148/0.8605, allocations: 99.28 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.8619, allocations: 443.2 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001573/0.8635, allocations: 1.135 MB / 1.03 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009852/0.8645, allocations: 0.5642 MB / 1.03 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000453/0.865, allocations: 302.2 kB / 1.031 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.8655, allocations: 341.6 kB / 1.031 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.8658, allocations: 32 kB / 1.031 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.866, allocations: 47.98 kB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.8662, allocations: 147.1 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005229/0.8668, allocations: 406.9 kB / 1.032 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.8681, allocations: 1.263 MB / 1.033 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8681, allocations: 0 / 1.033 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8681, allocations: 3.938 kB / 1.033 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.377e-05/0.8681, allocations: 0 / 1.033 GB, free: 5.785 MB / 0.7794 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.002481/0.8706, allocations: 1.22 MB / 1.034 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.8707, allocations: 12.03 kB / 1.034 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/0.8709, allocations: 115.5 kB / 1.034 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008604/0.8718, allocations: 0.5908 MB / 1.035 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.852e-05/0.8719, allocations: 70.38 kB / 1.035 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.872, allocations: 96.38 kB / 1.035 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.8738, allocations: 0.8836 MB / 1.036 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.8738, allocations: 192 / 1.036 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.716e-05/0.8739, allocations: 39.94 kB / 1.036 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.8739, allocations: 23.98 kB / 1.036 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.8754, allocations: 0.6754 MB / 1.037 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00484/0.8802, allocations: 3.034 MB / 1.039 GB, free: 14.81 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.8819, allocations: 0.744 MB / 1.04 GB, free: 14.05 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007364/0.8826, allocations: 398.6 kB / 1.041 GB, free: 13.66 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.8827, allocations: 9.656 kB / 1.041 GB, free: 13.65 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007759/0.8835, allocations: 371 kB / 1.041 GB, free: 13.28 MB / 0.795 GB Notification: Performance of pre-optimization done (n=68): time 2.395e-06/0.8835, allocations: 0 / 1.041 GB, free: 13.28 MB / 0.795 GB Notification: Performance of matching and sorting (n=68): time 0.001881/0.8854, allocations: 0.8924 MB / 1.042 GB, free: 12.38 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.8855, allocations: 192.5 kB / 1.042 GB, free: 12.15 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000939/0.8865, allocations: 0.6724 MB / 1.043 GB, free: 11.47 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.162e-05/0.8865, allocations: 41.7 kB / 1.043 GB, free: 11.42 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.8869, allocations: 439.8 kB / 1.043 GB, free: 10.98 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.8871, allocations: 224.7 kB / 1.043 GB, free: 10.76 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.509e-05/0.8872, allocations: 73.67 kB / 1.043 GB, free: 10.68 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.8873, allocations: 333.9 kB / 1.044 GB, free: 10.35 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007269/0.888, allocations: 309.8 kB / 1.044 GB, free: 10.05 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008581/0.8889, allocations: 0.4981 MB / 1.045 GB, free: 9.477 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.8903, allocations: 0.7161 MB / 1.045 GB, free: 8.711 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.8903, allocations: 0 / 1.045 GB, free: 8.711 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001858/0.8922, allocations: 0.9159 MB / 1.046 GB, free: 7.781 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.8923, allocations: 211.6 kB / 1.046 GB, free: 7.527 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.8924, allocations: 4 kB / 1.046 GB, free: 7.523 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.8924, allocations: 11.94 kB / 1.046 GB, free: 7.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006736/0.8931, allocations: 167.8 kB / 1.046 GB, free: 7.348 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.8931, allocations: 11.94 kB / 1.047 GB, free: 7.336 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007469/0.8938, allocations: 171 kB / 1.047 GB, free: 7.168 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.8939, allocations: 35.98 kB / 1.047 GB, free: 7.133 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.8939, allocations: 10.19 kB / 1.047 GB, free: 7.125 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001215/0.8952, allocations: 0.6767 MB / 1.047 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8952, allocations: 4 kB / 1.047 GB, free: 6.438 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.8952, allocations: 4.375 kB / 1.047 GB, free: 6.434 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/0.8957, allocations: 143.8 kB / 1.048 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.8957, allocations: 11.98 kB / 1.048 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/0.8963, allocations: 135.2 kB / 1.048 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.8964, allocations: 24 kB / 1.048 GB, free: 6.125 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0003826/0.8968, allocations: 309.5 kB / 1.048 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.8969, allocations: 79.05 kB / 1.048 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.8983, allocations: 0.6984 MB / 1.049 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.8983, allocations: 4 kB / 1.049 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.8983, allocations: 4 kB / 1.049 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.8983, allocations: 3.984 kB / 1.049 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.901, allocations: 1.718 MB / 1.05 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.901, allocations: 4 kB / 1.05 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.9015, allocations: 143.8 kB / 1.051 GB, free: 3.066 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/0.9016, allocations: 7.938 kB / 1.051 GB, free: 3.059 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.9016, allocations: 16.19 kB / 1.051 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.9016, allocations: 8.094 kB / 1.051 GB, free: 3.035 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/0.9016, allocations: 11.88 kB / 1.051 GB, free: 3.023 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.9037, allocations: 1.159 MB / 1.052 GB, free: 1.816 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.9038, allocations: 168.1 kB / 1.052 GB, free: 1.633 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.358e-05/0.9039, allocations: 15.94 kB / 1.052 GB, free: 1.617 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.9044, allocations: 67.95 kB / 1.052 GB, free: 1.551 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.613e-05/0.9044, allocations: 36.52 kB / 1.052 GB, free: 1.516 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.14e-05/0.9045, allocations: 23.98 kB / 1.052 GB, free: 1.492 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007251/0.9053, allocations: 483 kB / 1.052 GB, free: 1.027 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9053, allocations: 0 / 1.052 GB, free: 1.027 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00104/0.9063, allocations: 326.7 kB / 1.053 GB, free: 0.707 MB / 0.795 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: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003103/0.9066, allocations: 131.1 kB / 1.053 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002485/0.9091, allocations: 1.187 MB / 1.054 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.9091, allocations: 4.062 kB / 1.054 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005981/0.9098, allocations: 331.5 kB / 1.054 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.911, allocations: 175.4 kB / 1.055 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.9139, allocations: 1.889 MB / 1.056 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.9146, allocations: 0.9785 MB / 1.057 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004256/0.9151, allocations: 101.9 kB / 1.057 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.9153, allocations: 67.41 kB / 1.058 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of SimCode: time 8.72e-07/0.9153, allocations: 0 / 1.058 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of Templates: time 0.01939/0.9347, allocations: 9.133 MB / 1.066 GB, free: 2.703 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches