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.00137/0.00137, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.001485/0.001485, allocations: 189.1 kB / 17.3 MB, free: 5.613 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.642/2.642, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 64.73 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3632, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002897/0.3662, allocations: 1.707 MB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7775/1.144, allocations: 148.4 MB / 1.173 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/1.144, allocations: 1.062 kB / 1.173 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002768/1.144, allocations: 51.83 kB / 1.173 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/1.146, allocations: 431.4 kB / 1.174 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/1.146, allocations: 66.23 kB / 1.174 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/1.146, allocations: 147.4 kB / 1.174 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.271e-05/1.147, allocations: 7.75 kB / 1.174 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/1.147, allocations: 59.36 kB / 1.174 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/1.147, allocations: 69.69 kB / 1.174 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/1.147, allocations: 9 kB / 1.174 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/1.148, allocations: 0.5041 MB / 1.175 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/1.148, allocations: 21.69 kB / 1.175 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.583e-05/1.148, allocations: 59.55 kB / 1.175 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006283/1.149, allocations: 372.8 kB / 1.175 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.149, allocations: 0 / 1.175 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.765e-06/1.149, allocations: 0 / 1.175 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.233e-06/1.149, allocations: 0 / 1.175 GB, free: 10.16 MB / 0.8887 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.0007115/1.149, allocations: 479.3 kB / 1.176 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/1.15, allocations: 9.375 kB / 1.176 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/1.151, allocations: 188 kB / 1.176 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/1.151, allocations: 313.1 kB / 1.176 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/1.151, allocations: 155.7 kB / 1.176 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.513e-05/1.151, allocations: 160.8 kB / 1.176 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.402e-05/1.151, allocations: 106.1 kB / 1.176 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/1.151, allocations: 76.38 kB / 1.176 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/1.151, allocations: 150.6 kB / 1.177 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.544e-05/1.151, allocations: 151.6 kB / 1.177 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/1.151, allocations: 150.6 kB / 1.177 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/1.152, allocations: 0.5105 MB / 1.177 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.432e-05/1.152, allocations: 174 kB / 1.178 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/1.152, allocations: 80.14 kB / 1.178 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/1.152, allocations: 76.47 kB / 1.178 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.78e-05/1.152, allocations: 116 kB / 1.178 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.152, allocations: 0 / 1.178 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0003069/1.152, allocations: 57.75 kB / 1.178 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/1.152, allocations: 126.7 kB / 1.178 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/1.153, allocations: 225.2 kB / 1.178 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/1.153, allocations: 26.64 kB / 1.178 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/1.153, allocations: 109.7 kB / 1.178 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/1.153, allocations: 0 / 1.178 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/1.153, allocations: 22.16 kB / 1.178 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.153, allocations: 319.9 kB / 1.179 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.424e-05/1.153, allocations: 24.5 kB / 1.179 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.353e-05/1.153, allocations: 20.27 kB / 1.179 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.081e-05/1.153, allocations: 27.48 kB / 1.179 GB, free: 6.578 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.153, allocations: 7.812 kB / 1.179 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006539/1.154, allocations: 139.2 kB / 1.179 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.154, allocations: 4.469 kB / 1.179 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.154, allocations: 0 / 1.179 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007819/1.155, allocations: 152.5 kB / 1.179 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/1.155, allocations: 5.281 kB / 1.179 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/1.157, allocations: 1.608 MB / 1.181 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/1.157, allocations: 11.59 kB / 1.181 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/1.157, allocations: 1.125 kB / 1.181 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.497e-05/1.157, allocations: 106.5 kB / 1.181 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.913e-05/1.157, allocations: 20.25 kB / 1.181 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.868e-05/1.157, allocations: 29.16 kB / 1.181 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.71e-07/1.157, allocations: 0 / 1.181 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002344/1.158, allocations: 108.8 kB / 1.181 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/1.158, allocations: 4.688 kB / 1.181 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-06/1.158, allocations: 4 kB / 1.181 GB, free: 4.734 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003487/1.158, allocations: 112 kB / 1.181 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.174e-05/1.158, allocations: 4.562 kB / 1.181 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/1.159, allocations: 1.46 MB / 1.182 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/1.159, allocations: 11.97 kB / 1.182 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/1.159, allocations: 1.031 kB / 1.182 GB, free: 3.168 MB / 0.8887 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.0001321/1.16, allocations: 260.8 kB / 1.183 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.16, allocations: 119 kB / 1.183 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.603e-05/1.16, allocations: 120.8 kB / 1.183 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.03e-05/1.16, allocations: 177.4 kB / 1.183 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.317e-05/1.16, allocations: 176.3 kB / 1.183 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.411e-05/1.16, allocations: 185.4 kB / 1.183 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/1.16, allocations: 447.8 kB / 1.184 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.503e-05/1.16, allocations: 104.9 kB / 1.184 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/1.16, allocations: 102.9 kB / 1.184 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.488e-05/1.161, allocations: 185.3 kB / 1.184 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.516e-05/1.161, allocations: 181.3 kB / 1.184 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.006e-05/1.161, allocations: 185.4 kB / 1.185 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.504e-05/1.161, allocations: 181.3 kB / 1.185 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/1.161, allocations: 311.4 kB / 1.185 GB, free: 376 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/1.161, allocations: 202.4 kB / 1.185 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.161, allocations: 181.9 kB / 1.185 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/1.161, allocations: 115.1 kB / 1.186 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/1.161, allocations: 185.3 kB / 1.186 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/1.161, allocations: 110 kB / 1.186 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002118/1.162, allocations: 160.2 kB / 1.186 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/1.162, allocations: 0 / 1.186 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004629/1.162, allocations: 65.95 kB / 1.186 GB, free: 15.42 MB / 0.9044 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.0002816/1.162, allocations: 215.3 kB / 1.186 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005428/1.163, allocations: 304.5 kB / 1.187 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.163, allocations: 1.156 kB / 1.187 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-06/1.163, allocations: 3.938 kB / 1.187 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/1.164, allocations: 475.6 kB / 1.187 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/1.164, allocations: 301.4 kB / 1.187 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/1.164, allocations: 0.6967 MB / 1.188 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.314e-05/1.164, allocations: 10.34 kB / 1.188 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/1.164, allocations: 19.48 kB / 1.188 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of SimCode: time 3.527e-06/1.164, allocations: 0 / 1.188 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.006588/1.171, allocations: 3.071 MB / 1.191 GB, free: 11.96 MB / 0.9044 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 -s cvode -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