Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001042, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001318/0.001318, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.988/2.988, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 8.562 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3727, allocations: 159.6 MB / 1.058 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002746/0.3755, allocations: 1.787 MB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.3785, allocations: 1.717 MB / 1.061 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/0.3788, allocations: 7.938 kB / 1.061 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.3795, allocations: 199 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.3798, allocations: 55.55 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.3808, allocations: 370.2 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005033/0.3814, allocations: 342.8 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3815, allocations: 36.39 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.3818, allocations: 139.6 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.382, allocations: 135.5 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.066e-05/0.3821, allocations: 20 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.3825, allocations: 215.7 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.3827, allocations: 103.7 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3829, allocations: 81.52 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000578/0.3834, allocations: 455.1 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3835, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3835, allocations: 4 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.3835, allocations: 4 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001263/0.3848, allocations: 0.6517 MB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3848, allocations: 12.03 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.3864, allocations: 163.4 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00068/0.3871, allocations: 357.2 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.3873, allocations: 75.38 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.3873, allocations: 12 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009855/0.3883, allocations: 455 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3883, allocations: 8 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.3884, allocations: 4 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3884, allocations: 0 / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.3898, allocations: 0.6246 MB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.3917, allocations: 1.039 MB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004412/0.3961, allocations: 0.9236 MB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007632/0.3969, allocations: 324.7 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.397, allocations: 7.984 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.398, allocations: 470.9 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.645e-06/0.398, allocations: 3.938 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002484/0.4005, allocations: 0.9773 MB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.4006, allocations: 55.41 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007092/0.4013, allocations: 425.6 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.413e-05/0.4014, allocations: 33.7 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.4016, allocations: 176 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.4017, allocations: 51.3 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.4017, allocations: 4 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.4019, allocations: 342.8 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008693/0.4028, allocations: 404.6 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008091/0.4036, allocations: 387.7 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007886/0.4044, allocations: 371.7 kB / 1.072 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4044, allocations: 0 / 1.072 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002016/0.4065, allocations: 0.9436 MB / 1.073 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/0.4065, allocations: 45.64 kB / 1.073 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4066, allocations: 0 / 1.073 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.4066, allocations: 4 kB / 1.073 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.407, allocations: 71.92 kB / 1.073 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.407, allocations: 3.984 kB / 1.073 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.4075, allocations: 55.86 kB / 1.073 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/0.4075, allocations: 11.98 kB / 1.073 GB, free: 6.023 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000369/0.4079, allocations: 190.8 kB / 1.073 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/0.408, allocations: 31.62 kB / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.4081, allocations: 43.42 kB / 1.073 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.4081, allocations: 8 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4081, allocations: 4 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4081, allocations: 0 / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006504/0.4088, allocations: 0.5476 MB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4088, allocations: 0 / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/0.4092, allocations: 71.92 kB / 1.074 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4093, allocations: 3.953 kB / 1.074 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.4093, allocations: 11.98 kB / 1.074 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4093, allocations: 0 / 1.074 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4093, allocations: 3.938 kB / 1.074 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.4109, allocations: 0.6903 MB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.4111, allocations: 168.6 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/0.4112, allocations: 11.95 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.4116, allocations: 59.94 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.4117, allocations: 27.95 kB / 1.075 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.4117, allocations: 11.98 kB / 1.075 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003679/0.4121, allocations: 315.1 kB / 1.075 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4121, allocations: 0 / 1.075 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000425/0.4125, allocations: 88.09 kB / 1.075 GB, free: 3.664 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002753/0.4128, allocations: 135.1 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.4146, allocations: 0.7957 MB / 1.076 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4146, allocations: 0 / 1.076 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007619/0.4153, allocations: 347.7 kB / 1.076 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.4158, allocations: 79.17 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.4176, allocations: 0.8854 MB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.4181, allocations: 0.8107 MB / 1.078 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004512/0.4185, allocations: 102.2 kB / 1.078 GB, free: 468 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.4187, allocations: 35.41 kB / 1.078 GB, free: 432 kB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.4187, allocations: 0 / 1.078 GB, free: 432 kB / 0.8262 GB Notification: Performance of Templates: time 0.01319/0.4319, allocations: 6.455 MB / 1.084 GB, free: 10.04 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches