Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_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.0008852/0.0008851, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.0009288/0.0009288, allocations: 171.9 kB / 16.26 MB, free: 6.66 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.246/2.246, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5624/0.5628, allocations: 142.4 MB / 0.9552 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp): time 0.001396/0.5642, allocations: 1.424 MB / 0.9566 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1428/0.707, allocations: 144.6 MB / 1.098 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.7071, allocations: 3.938 kB / 1.098 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.7073, allocations: 46 kB / 1.098 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.7085, allocations: 394.4 kB / 1.098 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.7087, allocations: 59.92 kB / 1.098 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.7089, allocations: 139.3 kB / 1.098 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.7089, allocations: 5.406 kB / 1.098 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.534e-05/0.709, allocations: 47.84 kB / 1.098 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.7092, allocations: 63.75 kB / 1.098 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.7092, allocations: 7.984 kB / 1.098 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.7102, allocations: 0.569 MB / 1.099 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.7103, allocations: 23.84 kB / 1.099 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.436e-05/0.7103, allocations: 77.38 kB / 1.099 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006669/0.711, allocations: 391 kB / 1.1 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.711, allocations: 0 / 1.1 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.711, allocations: 0 / 1.1 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7111, allocations: 0 / 1.1 GB, free: 10.97 MB / 0.8575 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.0006504/0.7117, allocations: 462.9 kB / 1.1 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.7118, allocations: 8.031 kB / 1.1 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.7118, allocations: 106 kB / 1.1 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.713, allocations: 187.9 kB / 1.1 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.7133, allocations: 311.3 kB / 1.101 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.3e-05/0.7134, allocations: 154.6 kB / 1.101 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.7134, allocations: 162.5 kB / 1.101 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.936e-05/0.7135, allocations: 109 kB / 1.101 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.7135, allocations: 79.22 kB / 1.101 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.7136, allocations: 150.6 kB / 1.101 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-05/0.7136, allocations: 150.6 kB / 1.101 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.04e-05/0.7137, allocations: 154.6 kB / 1.101 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.7141, allocations: 0.5134 MB / 1.102 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.13e-05/0.7141, allocations: 165.1 kB / 1.102 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.7142, allocations: 84.08 kB / 1.102 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.7142, allocations: 83.27 kB / 1.102 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.7142, allocations: 109.8 kB / 1.102 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.7143, allocations: 0 / 1.102 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0002906/0.7145, allocations: 57.5 kB / 1.102 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.7146, allocations: 130.7 kB / 1.103 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.7149, allocations: 223.1 kB / 1.103 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.7149, allocations: 25.7 kB / 1.103 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.715, allocations: 104.1 kB / 1.103 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.715, allocations: 0 / 1.103 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.715, allocations: 21.7 kB / 1.103 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.7151, allocations: 326.8 kB / 1.103 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.7152, allocations: 15.94 kB / 1.103 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/0.7152, allocations: 19.98 kB / 1.103 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.618e-05/0.7153, allocations: 28.86 kB / 1.103 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7153, allocations: 3.938 kB / 1.103 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005911/0.7159, allocations: 134.3 kB / 1.103 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/0.716, allocations: 106.3 kB / 1.104 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.716, allocations: 0 / 1.104 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007786/0.7168, allocations: 152.6 kB / 1.104 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.7168, allocations: 4 kB / 1.104 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.7187, allocations: 1.503 MB / 1.105 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.7189, allocations: 8.125 kB / 1.105 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.7189, allocations: 8 kB / 1.105 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.7189, allocations: 4 kB / 1.105 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001912/0.7191, allocations: 72.7 kB / 1.105 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-06/0.7191, allocations: 0 / 1.105 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003615/0.7195, allocations: 112.7 kB / 1.105 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.2e-05/0.7195, allocations: 8 kB / 1.105 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.7206, allocations: 1.351 MB / 1.107 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.7208, allocations: 7.938 kB / 1.107 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.7208, allocations: 0 / 1.107 GB, free: 3.109 MB / 0.8575 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.0001233/0.7209, allocations: 268.3 kB / 1.107 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.721, allocations: 124.9 kB / 1.107 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.721, allocations: 109.5 kB / 1.107 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.596e-05/0.7211, allocations: 180.3 kB / 1.107 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.407e-05/0.7212, allocations: 188.2 kB / 1.108 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.427e-05/0.7212, allocations: 180.2 kB / 1.108 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.7215, allocations: 453 kB / 1.108 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.097e-05/0.7215, allocations: 105 kB / 1.108 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.7215, allocations: 101.1 kB / 1.108 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-05/0.7216, allocations: 180.2 kB / 1.108 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/0.7217, allocations: 184.2 kB / 1.109 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.499e-05/0.7217, allocations: 184.2 kB / 1.109 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.437e-05/0.7218, allocations: 180.3 kB / 1.109 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.7219, allocations: 315.6 kB / 1.109 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.722, allocations: 201.9 kB / 1.109 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.83e-05/0.7221, allocations: 188.3 kB / 1.11 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.7223, allocations: 105 kB / 1.11 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.7224, allocations: 184.2 kB / 1.11 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.7224, allocations: 105 kB / 1.11 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000183/0.7226, allocations: 164 kB / 1.11 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7226, allocations: 0 / 1.11 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004127/0.723, allocations: 75.88 kB / 1.11 GB, free: 15.19 MB / 0.8731 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.0005735/0.7236, allocations: 0.8554 MB / 1.111 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005456/0.7242, allocations: 305.3 kB / 1.111 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.7242, allocations: 0 / 1.111 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.7242, allocations: 0 / 1.111 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.7247, allocations: 0.5474 MB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.7276, allocations: 2.087 MB / 1.114 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.7278, allocations: 0.7006 MB / 1.115 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.53e-05/0.7279, allocations: 12.55 kB / 1.115 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.728, allocations: 27.42 kB / 1.115 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of SimCode: time 3.5e-07/0.728, allocations: 0 / 1.115 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04015/0.7682, allocations: 4.363 MB / 1.119 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/0.7685, allocations: 256.8 kB / 1.119 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.538, allocations: 0 / 1.119 GB, free: 6.098 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches