Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009722/0.0009722, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008131/0.008131, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.446/2.446, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003153, allocations: 9.969 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2656, allocations: 159.6 MB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002235/0.2679, allocations: 1.411 MB / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1389/0.4068, allocations: 144.6 MB / 1.201 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.4069, allocations: 8 kB / 1.201 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.4071, allocations: 51.67 kB / 1.201 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.4082, allocations: 382.4 kB / 1.202 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.4084, allocations: 59.88 kB / 1.202 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.4086, allocations: 139.3 kB / 1.202 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.4086, allocations: 9.406 kB / 1.202 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.4087, allocations: 51.83 kB / 1.202 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.4089, allocations: 59.77 kB / 1.202 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.4089, allocations: 4 kB / 1.202 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009707/0.4099, allocations: 0.5768 MB / 1.203 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.4099, allocations: 11.92 kB / 1.203 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.038e-05/0.41, allocations: 85.41 kB / 1.203 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006075/0.4106, allocations: 387 kB / 1.203 GB, free: 448 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4106, allocations: 3.938 kB / 1.203 GB, free: 444 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4106, allocations: 0 / 1.203 GB, free: 444 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.4106, allocations: 0 / 1.203 GB, free: 444 kB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006787/0.4113, allocations: 462.9 kB / 1.204 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4114, allocations: 19.97 kB / 1.204 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.4114, allocations: 110 kB / 1.204 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.4125, allocations: 176 kB / 1.204 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.4129, allocations: 319.9 kB / 1.204 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.4129, allocations: 150.6 kB / 1.204 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.413, allocations: 154.6 kB / 1.204 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.257e-05/0.413, allocations: 105 kB / 1.205 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.4131, allocations: 79.22 kB / 1.205 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.4131, allocations: 154.6 kB / 1.205 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/0.4132, allocations: 150.6 kB / 1.205 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.376e-05/0.4132, allocations: 154.5 kB / 1.205 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.4135, allocations: 0.5056 MB / 1.206 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.386e-05/0.4136, allocations: 169.1 kB / 1.206 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.4137, allocations: 96 kB / 1.206 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.4137, allocations: 75.28 kB / 1.206 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.4137, allocations: 109.8 kB / 1.206 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.4137, allocations: 0 / 1.206 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0002713/0.414, allocations: 61.5 kB / 1.206 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.4141, allocations: 126.7 kB / 1.206 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.4144, allocations: 212 kB / 1.206 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.4144, allocations: 29.7 kB / 1.206 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.4145, allocations: 104.1 kB / 1.206 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.4145, allocations: 0 / 1.206 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.4145, allocations: 13.72 kB / 1.207 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4146, allocations: 330.8 kB / 1.207 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/0.4147, allocations: 19.92 kB / 1.207 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.4147, allocations: 20 kB / 1.207 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.469e-05/0.4148, allocations: 28.84 kB / 1.207 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4148, allocations: 0 / 1.207 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000577/0.4154, allocations: 146.3 kB / 1.207 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.4154, allocations: 89 kB / 1.207 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4154, allocations: 0 / 1.207 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007474/0.4162, allocations: 160.6 kB / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.299e-05/0.4163, allocations: 4 kB / 1.207 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.4181, allocations: 1.492 MB / 1.209 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.4183, allocations: 15.92 kB / 1.209 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.4183, allocations: 0 / 1.209 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.729e-06/0.4183, allocations: 4 kB / 1.209 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000189/0.4185, allocations: 76.7 kB / 1.209 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-06/0.4185, allocations: 4.438 kB / 1.209 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003605/0.4189, allocations: 112.7 kB / 1.209 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.973e-05/0.4189, allocations: 8 kB / 1.209 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009866/0.4199, allocations: 1.355 MB / 1.21 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.42, allocations: 3.984 kB / 1.21 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.4201, allocations: 8.016 kB / 1.21 GB, free: 8.57 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.4202, allocations: 273 kB / 1.211 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.4203, allocations: 116.8 kB / 1.211 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.4203, allocations: 113.5 kB / 1.211 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.046e-05/0.4204, allocations: 180.2 kB / 1.211 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-05/0.4204, allocations: 188.2 kB / 1.211 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.782e-05/0.4205, allocations: 176.3 kB / 1.211 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.4207, allocations: 453.2 kB / 1.212 GB, free: 7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.458e-05/0.4207, allocations: 113 kB / 1.212 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.4208, allocations: 105 kB / 1.212 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-05/0.4208, allocations: 180.2 kB / 1.212 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/0.4209, allocations: 176.3 kB / 1.212 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.087e-05/0.421, allocations: 184.2 kB / 1.212 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.642e-05/0.421, allocations: 180.3 kB / 1.213 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.4211, allocations: 323.5 kB / 1.213 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.22e-05/0.4212, allocations: 194 kB / 1.213 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/0.4213, allocations: 188.1 kB / 1.213 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.4215, allocations: 113.1 kB / 1.213 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.4216, allocations: 184.2 kB / 1.214 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.4216, allocations: 101 kB / 1.214 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001925/0.4218, allocations: 168.3 kB / 1.214 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4218, allocations: 0 / 1.214 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003829/0.4222, allocations: 64 kB / 1.214 GB, free: 4.656 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * 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.0004683/0.4227, allocations: 0.8593 MB / 1.215 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005013/0.4232, allocations: 301.4 kB / 1.215 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4232, allocations: 0 / 1.215 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-06/0.4232, allocations: 4 kB / 1.215 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.4237, allocations: 0.5472 MB / 1.216 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.4264, allocations: 2.091 MB / 1.218 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.4267, allocations: 0.7006 MB / 1.218 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.4268, allocations: 12.56 kB / 1.218 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.595e-05/0.4268, allocations: 27.42 kB / 1.218 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.4268, allocations: 0 / 1.218 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9859/1.413, allocations: 4.373 MB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/1.413, allocations: 251.7 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/3.294, allocations: 3.938 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches