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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009076/0.009076, allocations: 101 kB / 15.87 MB, free: 5.867 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.001693/0.001694, allocations: 191.5 kB / 16.79 MB, free: 5.809 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.415/1.415, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.716/2.716, allocations: 461.8 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002521/0.002521, allocations: 63.89 kB / 0.8991 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3899, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.005611/0.3956, allocations: 1.754 MB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.2303/0.6259, allocations: 146.1 MB / 1.197 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.626, allocations: 0 / 1.197 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.6264, allocations: 51.95 kB / 1.197 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.6278, allocations: 394.3 kB / 1.198 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.628, allocations: 47.89 kB / 1.198 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.6282, allocations: 139.4 kB / 1.198 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.6283, allocations: 13.39 kB / 1.198 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.841e-05/0.6284, allocations: 55.72 kB / 1.198 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.6286, allocations: 59.81 kB / 1.198 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.6286, allocations: 8 kB / 1.198 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.6298, allocations: 0.5768 MB / 1.198 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.043e-05/0.6298, allocations: 15.98 kB / 1.198 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.555e-05/0.6299, allocations: 47.73 kB / 1.199 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.6305, allocations: 279.4 kB / 1.199 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6305, allocations: 0 / 1.199 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6306, allocations: 0 / 1.199 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.6306, allocations: 0 / 1.199 GB, free: 2.141 MB / 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.0009001/0.6315, allocations: 474.8 kB / 1.199 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.6315, allocations: 11.97 kB / 1.199 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.6329, allocations: 180 kB / 1.199 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.6333, allocations: 312.1 kB / 1.2 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.274e-05/0.6334, allocations: 158.5 kB / 1.2 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.422e-05/0.6335, allocations: 158.6 kB / 1.2 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.6336, allocations: 101 kB / 1.2 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.6337, allocations: 79.27 kB / 1.2 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.6338, allocations: 150.6 kB / 1.2 GB, free: 464 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.795e-05/0.6338, allocations: 150.6 kB / 1.201 GB, free: 312 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.432e-05/0.6339, allocations: 158.6 kB / 1.201 GB, free: 152 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.6344, allocations: 0.5172 MB / 1.201 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.6345, allocations: 165.1 kB / 1.201 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.6346, allocations: 80.14 kB / 1.201 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.485e-05/0.6346, allocations: 83.22 kB / 1.201 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.548e-05/0.6347, allocations: 109.8 kB / 1.202 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.6347, allocations: 0 / 1.202 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0003493/0.6351, allocations: 61.44 kB / 1.202 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.6351, allocations: 126.7 kB / 1.202 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.6355, allocations: 223.1 kB / 1.202 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.6355, allocations: 25.7 kB / 1.202 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.6356, allocations: 104.1 kB / 1.202 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.6356, allocations: 0 / 1.202 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.6357, allocations: 25.7 kB / 1.202 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.6359, allocations: 322.8 kB / 1.202 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.6359, allocations: 24.86 kB / 1.202 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.415e-05/0.636, allocations: 19.98 kB / 1.202 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.189e-05/0.6361, allocations: 36.97 kB / 1.203 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.6361, allocations: 0 / 1.203 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006845/0.6368, allocations: 134.2 kB / 1.203 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.6368, allocations: 9.875 kB / 1.203 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6368, allocations: 4 kB / 1.203 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008937/0.6377, allocations: 144.6 kB / 1.203 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.6378, allocations: 8 kB / 1.203 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.6403, allocations: 1.499 MB / 1.204 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.6404, allocations: 11.91 kB / 1.204 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.6405, allocations: 7.938 kB / 1.204 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.651e-05/0.6406, allocations: 104.1 kB / 1.204 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.472e-05/0.6406, allocations: 16 kB / 1.204 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.108e-05/0.6407, allocations: 24.86 kB / 1.204 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.001e-06/0.6407, allocations: 0 / 1.204 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002612/0.6409, allocations: 110.5 kB / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.641, allocations: 7.984 kB / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-06/0.641, allocations: 0 / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003669/0.6413, allocations: 108.7 kB / 1.205 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.367e-05/0.6414, allocations: 7.938 kB / 1.205 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.6427, allocations: 1.359 MB / 1.206 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.6429, allocations: 0 / 1.206 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.6429, allocations: 8.031 kB / 1.206 GB, free: 10.27 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.000146/0.643, allocations: 259.5 kB / 1.206 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/0.6431, allocations: 120.8 kB / 1.206 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.6432, allocations: 113.5 kB / 1.206 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-05/0.6433, allocations: 184.2 kB / 1.207 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.403e-05/0.6434, allocations: 180.2 kB / 1.207 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-05/0.6434, allocations: 176.3 kB / 1.207 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.6438, allocations: 453 kB / 1.207 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-05/0.6438, allocations: 105 kB / 1.207 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.6439, allocations: 101 kB / 1.208 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-05/0.644, allocations: 184.2 kB / 1.208 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.507e-05/0.644, allocations: 184.3 kB / 1.208 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.675e-05/0.6441, allocations: 180.2 kB / 1.208 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-05/0.6442, allocations: 180.2 kB / 1.208 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.6444, allocations: 327.6 kB / 1.209 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.6445, allocations: 194 kB / 1.209 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.6446, allocations: 180.2 kB / 1.209 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.6448, allocations: 109 kB / 1.209 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.6449, allocations: 180.3 kB / 1.209 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-05/0.645, allocations: 113 kB / 1.209 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002212/0.6452, allocations: 160.1 kB / 1.209 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6452, allocations: 0 / 1.209 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000492/0.6457, allocations: 67.98 kB / 1.21 GB, free: 6.379 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.0003358/0.6461, allocations: 226.7 kB / 1.21 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006055/0.6467, allocations: 301.2 kB / 1.21 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6467, allocations: 0 / 1.21 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.6467, allocations: 0 / 1.21 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.6473, allocations: 0.5435 MB / 1.211 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.6478, allocations: 343.9 kB / 1.211 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.6481, allocations: 0.7006 MB / 1.212 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.6481, allocations: 11.44 kB / 1.212 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.6481, allocations: 0 / 1.212 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of Templates: time 0.00552/0.6537, allocations: 2.377 MB / 1.214 GB, free: 1.809 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile (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 & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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