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.001673/0.001673, allocations: 113.3 kB / 16.42 MB, free: 6.441 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.00183/0.00183, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.563/1.563, allocations: 222.9 MB / 241 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.592/2.592, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.00156, allocations: 63.91 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.00342/1.032, allocations: 1.849 MB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002097/1.035, allocations: 1.271 MB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000454/1.035, allocations: 8 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003786/1.035, allocations: 71.19 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003787/1.036, allocations: 55.47 kB / 1.171 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006363/1.036, allocations: 175.6 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007039/1.037, allocations: 489.1 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005021/1.038, allocations: 271.4 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/1.038, allocations: 175.2 kB / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/1.038, allocations: 202.9 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.416e-05/1.038, allocations: 52 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.301e-05/1.038, allocations: 52 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/1.039, allocations: 107.6 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/1.039, allocations: 210.8 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005972/1.039, allocations: 0.5876 MB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/1.039, allocations: 3.938 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.172e-06/1.039, allocations: 0 / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.747e-05/1.039, allocations: 0 / 1.173 GB, free: 14.24 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.001406/1.041, allocations: 0.7348 MB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.041, allocations: 8.031 kB / 1.174 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/1.041, allocations: 52.28 kB / 1.174 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/1.042, allocations: 352.3 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/1.042, allocations: 29.38 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.718e-05/1.042, allocations: 44.38 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/1.042, allocations: 407.5 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/1.042, allocations: 192 / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/1.043, allocations: 19.94 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/1.043, allocations: 8 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005964/1.043, allocations: 287.8 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/1.045, allocations: 1.366 MB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/1.046, allocations: 246.8 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/1.046, allocations: 120.8 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/1.046, allocations: 7.984 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/1.046, allocations: 34.5 kB / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 2.174e-06/1.046, allocations: 0 / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.0007234/1.047, allocations: 299.2 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/1.047, allocations: 106.8 kB / 1.177 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/1.048, allocations: 401.6 kB / 1.177 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/1.048, allocations: 33.7 kB / 1.177 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/1.048, allocations: 251.6 kB / 1.177 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/1.048, allocations: 71 kB / 1.177 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/1.048, allocations: 69.94 kB / 1.178 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.048, allocations: 350.7 kB / 1.178 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/1.049, allocations: 118.1 kB / 1.178 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/1.049, allocations: 204.3 kB / 1.178 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005028/1.049, allocations: 275.5 kB / 1.178 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.049, allocations: 0 / 1.178 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007426/1.05, allocations: 371 kB / 1.179 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.05, allocations: 8 kB / 1.179 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/1.05, allocations: 0 / 1.179 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/1.05, allocations: 7.984 kB / 1.179 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/1.051, allocations: 75.88 kB / 1.179 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.051, allocations: 8.219 kB / 1.179 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/1.051, allocations: 63.5 kB / 1.179 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/1.051, allocations: 8 kB / 1.179 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002737/1.051, allocations: 200.8 kB / 1.179 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002453/1.051, allocations: 195.9 kB / 1.179 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003226/1.052, allocations: 229.6 kB / 1.18 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-06/1.052, allocations: 0 / 1.18 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006352/1.052, allocations: 321 kB / 1.18 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/1.052, allocations: 4 kB / 1.18 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.052, allocations: 4 kB / 1.18 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.764e-06/1.052, allocations: 8.219 kB / 1.18 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/1.053, allocations: 59.91 kB / 1.18 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.053, allocations: 7.938 kB / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/1.053, allocations: 39.73 kB / 1.18 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/1.053, allocations: 8 kB / 1.18 GB, free: 6.43 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.0001536/1.053, allocations: 200.2 kB / 1.18 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/1.053, allocations: 39.53 kB / 1.18 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005585/1.054, allocations: 242.6 kB / 1.18 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/1.054, allocations: 0 / 1.18 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.054, allocations: 4 kB / 1.18 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/1.054, allocations: 116.7 kB / 1.181 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/1.054, allocations: 3.984 kB / 1.181 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/1.054, allocations: 19.98 kB / 1.181 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/1.054, allocations: 11.98 kB / 1.181 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000645/1.055, allocations: 312.6 kB / 1.181 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000855/1.056, allocations: 0.4965 MB / 1.181 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002123/1.056, allocations: 91.98 kB / 1.181 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003115/1.056, allocations: 287.2 kB / 1.182 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of Backend: time 5.1e-07/1.056, allocations: 3.938 kB / 1.182 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001111/1.057, allocations: 404.6 kB / 1.182 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00148/1.059, allocations: 1.083 MB / 1.183 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of Templates: time 0.01074/1.07, allocations: 4.679 MB / 1.188 GB, free: 14.39 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/jenkins1/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