Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.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.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mode.y.1.|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode") translateModel(Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mode.y.1.|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 116.2 kB / 16.42 MB, free: 6.465 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.001547/0.001547, allocations: 189.5 kB / 17.35 MB, free: 5.719 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.315/1.315, 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 11.0.1-master/package.mo): time 2.568/2.568, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6905/0.6918, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode): time 0.003645/0.6955, allocations: 2.632 MB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.6981, allocations: 1.867 MB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.6984, allocations: 11.94 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.6989, allocations: 206.6 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.6992, allocations: 150.9 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007539/0.7, allocations: 383.4 kB / 1.214 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009389/0.7009, allocations: 1.091 MB / 1.215 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007008/0.7016, allocations: 0.5268 MB / 1.215 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000381/0.702, allocations: 410.6 kB / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.7024, allocations: 465.9 kB / 1.216 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.7026, allocations: 116 kB / 1.216 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.7028, allocations: 152 kB / 1.216 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.7032, allocations: 335 kB / 1.217 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.7035, allocations: 461.6 kB / 1.217 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.7046, allocations: 1.38 MB / 1.218 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7046, allocations: 0 / 1.218 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7046, allocations: 4 kB / 1.218 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.7046, allocations: 0 / 1.218 GB, free: 3.43 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.001928/0.7066, allocations: 1.27 MB / 1.22 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.7066, allocations: 8.031 kB / 1.22 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.7068, allocations: 103.7 kB / 1.22 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007991/0.7076, allocations: 0.6067 MB / 1.22 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.7077, allocations: 58.38 kB / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.7078, allocations: 84.27 kB / 1.22 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.709, allocations: 0.7951 MB / 1.221 GB, free: 396 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.709, allocations: 3.938 kB / 1.221 GB, free: 392 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.7091, allocations: 31.98 kB / 1.221 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.7091, allocations: 16 kB / 1.221 GB, free: 344 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.7101, allocations: 0.574 MB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003334/0.7135, allocations: 2.459 MB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.7149, allocations: 1.045 MB / 1.225 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005893/0.7155, allocations: 403.8 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.7156, allocations: 12.53 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007042/0.7163, allocations: 472 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=73): time 2.655e-06/0.7163, allocations: 4 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=73): time 0.001679/0.718, allocations: 1.051 MB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.718, allocations: 166.9 kB / 1.227 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007605/0.7188, allocations: 0.6837 MB / 1.228 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/0.7189, allocations: 45.7 kB / 1.228 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.7192, allocations: 356.7 kB / 1.228 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.7193, allocations: 216.9 kB / 1.228 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.7195, allocations: 162.6 kB / 1.229 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7197, allocations: 386.7 kB / 1.229 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.7202, allocations: 264.7 kB / 1.229 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.7208, allocations: 0.508 MB / 1.23 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009371/0.7218, allocations: 0.7085 MB / 1.23 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.7218, allocations: 0 / 1.23 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00131/0.7231, allocations: 0.8161 MB / 1.231 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.232e-05/0.7232, allocations: 63.47 kB / 1.231 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.7232, allocations: 4 kB / 1.231 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.7232, allocations: 4 kB / 1.231 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.7237, allocations: 115.8 kB / 1.231 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.7237, allocations: 11.94 kB / 1.231 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/0.7243, allocations: 103.2 kB / 1.232 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/0.7244, allocations: 51.95 kB / 1.232 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005775/0.725, allocations: 426 kB / 1.232 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005367/0.7256, allocations: 484.7 kB / 1.232 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007522/0.7263, allocations: 0.6542 MB / 1.233 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.009e-06/0.7263, allocations: 11.98 kB / 1.233 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001082/0.7274, allocations: 0.7611 MB / 1.234 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.7275, allocations: 59.41 kB / 1.234 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.7275, allocations: 4 kB / 1.234 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-06/0.7275, allocations: 4.344 kB / 1.234 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.7279, allocations: 115.8 kB / 1.234 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.7279, allocations: 4 kB / 1.234 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007843/0.7287, allocations: 99.69 kB / 1.234 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/0.7288, allocations: 47.91 kB / 1.234 GB, free: 2.465 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mode.idx,$PRE.mode.idx,mode.y[1],$PRE.mode.y[1],limPIPar.addPar.y,limPIPar.isDis.y,limPIPar.cha.down,limPIPar.cha.up,limPIPar.cha.y,limPIPar.cha.u,$PRE.limPIPar.cha.u,limPIDPar.addPar.y,limPIDPar.isDis.y,limPIDPar.cha.down,limPIDPar.cha.up,limPIDPar.cha.y,limPIDPar.cha.u,$PRE.limPIDPar.cha.u,$whenCondition9,$whenCondition10,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 2 * 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.0002384/0.729, allocations: 297.7 kB / 1.234 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.7291, allocations: 71.16 kB / 1.235 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.7304, allocations: 0.8399 MB / 1.235 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.7304, allocations: 3.984 kB / 1.235 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.7305, allocations: 0 / 1.235 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.7306, allocations: 168 kB / 1.235 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.122e-05/0.7307, allocations: 20 kB / 1.236 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.731, allocations: 35.97 kB / 1.236 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.7311, allocations: 52.58 kB / 1.236 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001534/0.7327, allocations: 1.026 MB / 1.237 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00183/0.7345, allocations: 1.406 MB / 1.238 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004855/0.735, allocations: 365.1 kB / 1.238 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005301/0.7356, allocations: 491 kB / 1.239 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of Backend: time 3.4e-07/0.7356, allocations: 0 / 1.239 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.7374, allocations: 1.059 MB / 1.24 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002079/0.7394, allocations: 1.829 MB / 1.242 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of Templates: time 0.01773/0.7572, allocations: 11.62 MB / 1.253 GB, free: 15.07 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.makefile (rm -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.pipe >> ../files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.sim & ./Buildings_latest_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HydronicConfigurations_Controls_Validation_PIDWithOperatingMode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches