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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001538/0.001538, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001628/0.001628, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.406/1.406, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.673/2.673, allocations: 482.4 MB / 0.7553 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.001931, allocations: 72.5 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7395/0.7414, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002684/0.7442, allocations: 1.692 MB / 1.085 GB, free: 480 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1865/0.9307, allocations: 148.4 MB / 1.23 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.9309, allocations: 0 / 1.23 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.9313, allocations: 53.69 kB / 1.23 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.9329, allocations: 441.9 kB / 1.23 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.9331, allocations: 51.88 kB / 1.23 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.9333, allocations: 151.3 kB / 1.23 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.684e-05/0.9334, allocations: 9.406 kB / 1.23 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.8e-05/0.9335, allocations: 51.84 kB / 1.23 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.9337, allocations: 63.75 kB / 1.23 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.9337, allocations: 15.94 kB / 1.23 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.9348, allocations: 0.5028 MB / 1.231 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/0.9349, allocations: 23.91 kB / 1.231 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.826e-05/0.935, allocations: 59.73 kB / 1.231 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007/0.9357, allocations: 367.1 kB / 1.231 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.9357, allocations: 0 / 1.231 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.879e-06/0.9357, allocations: 0 / 1.231 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.9357, allocations: 7.938 kB / 1.231 GB, free: 6.582 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.0008221/0.9366, allocations: 486.7 kB / 1.232 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.9366, allocations: 12.03 kB / 1.232 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.9378, allocations: 172 kB / 1.232 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.9382, allocations: 308.2 kB / 1.232 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.152e-05/0.9383, allocations: 162.5 kB / 1.232 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/0.9383, allocations: 150.6 kB / 1.232 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.398e-05/0.9384, allocations: 104.9 kB / 1.233 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.137e-05/0.9385, allocations: 79.28 kB / 1.233 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/0.9386, allocations: 150.6 kB / 1.233 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.658e-05/0.9386, allocations: 154.6 kB / 1.233 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.9387, allocations: 154.6 kB / 1.233 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.9392, allocations: 0.5173 MB / 1.234 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.9393, allocations: 169.1 kB / 1.234 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.9393, allocations: 80.14 kB / 1.234 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.9394, allocations: 79.28 kB / 1.234 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.369e-05/0.9395, allocations: 113.8 kB / 1.234 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.9395, allocations: 7.938 kB / 1.234 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0002875/0.9398, allocations: 49.59 kB / 1.234 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.9399, allocations: 130.6 kB / 1.234 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.9402, allocations: 220.5 kB / 1.234 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.9402, allocations: 29.7 kB / 1.234 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.9403, allocations: 104 kB / 1.235 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.9403, allocations: 4 kB / 1.235 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.9404, allocations: 25.7 kB / 1.235 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.9405, allocations: 318.8 kB / 1.235 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/0.9406, allocations: 24.84 kB / 1.235 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.9406, allocations: 16 kB / 1.235 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.9407, allocations: 36.91 kB / 1.235 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.9407, allocations: 0 / 1.235 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006189/0.9414, allocations: 138.3 kB / 1.235 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.9414, allocations: 8 kB / 1.235 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9414, allocations: 0 / 1.235 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007749/0.9422, allocations: 148.6 kB / 1.235 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.9423, allocations: 4 kB / 1.235 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.9445, allocations: 1.599 MB / 1.237 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.9446, allocations: 7.969 kB / 1.237 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.9446, allocations: 4 kB / 1.237 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.895e-05/0.9448, allocations: 108.1 kB / 1.237 GB, free: 400 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.181e-05/0.9448, allocations: 15.94 kB / 1.237 GB, free: 384 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.665e-05/0.9448, allocations: 25.05 kB / 1.237 GB, free: 356 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.12e-07/0.9448, allocations: 0 / 1.237 GB, free: 356 kB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002467/0.9451, allocations: 114.3 kB / 1.237 GB, free: 232 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.9451, allocations: 4 kB / 1.237 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.9451, allocations: 0 / 1.237 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003524/0.9455, allocations: 112.9 kB / 1.237 GB, free: 112 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.15e-05/0.9455, allocations: 7.984 kB / 1.237 GB, free: 104 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.9469, allocations: 1.469 MB / 1.239 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.9471, allocations: 4.031 kB / 1.239 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.9471, allocations: 0 / 1.239 GB, free: 14.49 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.0001474/0.9472, allocations: 263.5 kB / 1.239 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.983e-05/0.9473, allocations: 112.8 kB / 1.239 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.9474, allocations: 125.4 kB / 1.239 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.614e-05/0.9475, allocations: 176.3 kB / 1.239 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.778e-05/0.9476, allocations: 176.3 kB / 1.239 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.725e-05/0.9477, allocations: 188.2 kB / 1.24 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.948, allocations: 445.1 kB / 1.24 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.403e-05/0.948, allocations: 104.9 kB / 1.24 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.9481, allocations: 109 kB / 1.24 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.943e-05/0.9482, allocations: 176.3 kB / 1.24 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-05/0.9483, allocations: 188.1 kB / 1.241 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-05/0.9484, allocations: 176.3 kB / 1.241 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-05/0.9485, allocations: 188.2 kB / 1.241 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.9486, allocations: 311.6 kB / 1.241 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.9488, allocations: 194 kB / 1.241 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.9489, allocations: 200.2 kB / 1.242 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.9491, allocations: 108.9 kB / 1.242 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.9492, allocations: 180.4 kB / 1.242 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.9493, allocations: 108.9 kB / 1.242 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002208/0.9495, allocations: 168.3 kB / 1.242 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9495, allocations: 4 kB / 1.242 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004494/0.9499, allocations: 64 kB / 1.242 GB, free: 10.58 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.0003073/0.9503, allocations: 207 kB / 1.242 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005857/0.9509, allocations: 301.4 kB / 1.243 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9509, allocations: 0 / 1.243 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.06e-06/0.9509, allocations: 3.938 kB / 1.243 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.9514, allocations: 485.8 kB / 1.243 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.9519, allocations: 329.9 kB / 1.243 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.9523, allocations: 0.7005 MB / 1.244 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.9523, allocations: 11.44 kB / 1.244 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.9523, allocations: 0 / 1.244 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of Templates: time 0.004713/0.957, allocations: 2.386 MB / 1.247 GB, free: 6.117 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=400 -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