Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_10_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_10_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.001584/0.001585, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001734/0.001734, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.574/1.574, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00259/0.00259, allocations: 63.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9344/0.937, allocations: 151.6 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003474/0.9405, allocations: 1.693 MB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1766/1.117, allocations: 148.4 MB / 1.314 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.628e-05/1.117, allocations: 0 / 1.314 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000252/1.118, allocations: 59.31 kB / 1.314 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/1.119, allocations: 450 kB / 1.314 GB, free: 12.58 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/1.119, allocations: 55.88 kB / 1.314 GB, free: 12.53 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002589/1.119, allocations: 147.3 kB / 1.315 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.192e-05/1.12, allocations: 13.39 kB / 1.315 GB, free: 12.37 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/1.12, allocations: 47.86 kB / 1.315 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/1.12, allocations: 71.67 kB / 1.315 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/1.12, allocations: 12 kB / 1.315 GB, free: 12.24 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000915/1.121, allocations: 0.5107 MB / 1.315 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/1.121, allocations: 27.91 kB / 1.315 GB, free: 11.7 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/1.121, allocations: 51.73 kB / 1.315 GB, free: 11.65 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005379/1.121, allocations: 373.1 kB / 1.316 GB, free: 11.29 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.121, allocations: 3.938 kB / 1.316 GB, free: 11.28 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.223e-06/1.121, allocations: 0 / 1.316 GB, free: 11.28 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.803e-06/1.121, allocations: 0 / 1.316 GB, free: 11.28 MB / 1.045 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.0007431/1.122, allocations: 482.7 kB / 1.316 GB, free: 10.76 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/1.122, allocations: 16.03 kB / 1.316 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/1.123, allocations: 172 kB / 1.316 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/1.124, allocations: 312.8 kB / 1.317 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/1.124, allocations: 158.5 kB / 1.317 GB, free: 10.08 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/1.124, allocations: 150.6 kB / 1.317 GB, free: 9.93 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.28e-05/1.124, allocations: 108.9 kB / 1.317 GB, free: 9.816 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/1.124, allocations: 75.28 kB / 1.317 GB, free: 9.742 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/1.124, allocations: 154.6 kB / 1.317 GB, free: 9.59 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-05/1.124, allocations: 154.6 kB / 1.317 GB, free: 9.438 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.31e-05/1.124, allocations: 150.6 kB / 1.318 GB, free: 9.289 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/1.125, allocations: 0.5134 MB / 1.318 GB, free: 8.727 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/1.125, allocations: 169.1 kB / 1.318 GB, free: 8.551 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/1.125, allocations: 88.14 kB / 1.318 GB, free: 8.461 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/1.125, allocations: 75.28 kB / 1.318 GB, free: 8.387 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/1.125, allocations: 109.8 kB / 1.318 GB, free: 8.27 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/1.125, allocations: 0 / 1.318 GB, free: 8.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0002869/1.125, allocations: 57.59 kB / 1.319 GB, free: 8.207 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/1.125, allocations: 134.6 kB / 1.319 GB, free: 8.062 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/1.125, allocations: 219.6 kB / 1.319 GB, free: 7.84 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/1.126, allocations: 25.7 kB / 1.319 GB, free: 7.809 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/1.126, allocations: 112 kB / 1.319 GB, free: 7.695 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/1.126, allocations: 0 / 1.319 GB, free: 7.695 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/1.126, allocations: 21.7 kB / 1.319 GB, free: 7.668 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.126, allocations: 318.8 kB / 1.319 GB, free: 7.348 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/1.126, allocations: 32.78 kB / 1.319 GB, free: 7.312 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/1.126, allocations: 12 kB / 1.319 GB, free: 7.301 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.031e-05/1.126, allocations: 36.91 kB / 1.319 GB, free: 7.262 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.126, allocations: 4 kB / 1.319 GB, free: 7.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000633/1.127, allocations: 138.3 kB / 1.32 GB, free: 7.113 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/1.127, allocations: 4 kB / 1.32 GB, free: 7.109 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.127, allocations: 0 / 1.32 GB, free: 7.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008369/1.127, allocations: 148.6 kB / 1.32 GB, free: 6.961 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/1.128, allocations: 4 kB / 1.32 GB, free: 6.957 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/1.13, allocations: 1.616 MB / 1.321 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/1.13, allocations: 11.91 kB / 1.321 GB, free: 5.188 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/1.13, allocations: 0 / 1.321 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.441e-05/1.13, allocations: 104.1 kB / 1.321 GB, free: 5.082 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.109e-05/1.13, allocations: 12 kB / 1.321 GB, free: 5.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.85e-05/1.13, allocations: 28.86 kB / 1.321 GB, free: 5.039 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.02e-07/1.13, allocations: 0 / 1.321 GB, free: 5.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002392/1.13, allocations: 114.5 kB / 1.321 GB, free: 4.918 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.13, allocations: 4 kB / 1.322 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/1.13, allocations: 4 kB / 1.322 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003655/1.131, allocations: 104.7 kB / 1.322 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.413e-05/1.131, allocations: 7.984 kB / 1.322 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/1.132, allocations: 1.47 MB / 1.323 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/1.132, allocations: 0 / 1.323 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/1.132, allocations: 8.062 kB / 1.323 GB, free: 3.172 MB / 1.045 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.0001219/1.132, allocations: 255.5 kB / 1.323 GB, free: 2.914 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/1.132, allocations: 108.9 kB / 1.323 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.747e-05/1.132, allocations: 125.2 kB / 1.324 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.566e-05/1.132, allocations: 184.3 kB / 1.324 GB, free: 2.484 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.738e-05/1.133, allocations: 184.2 kB / 1.324 GB, free: 2.297 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.385e-05/1.133, allocations: 176.3 kB / 1.324 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/1.133, allocations: 441.2 kB / 1.324 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.001e-05/1.133, allocations: 112.9 kB / 1.325 GB, free: 1.512 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/1.133, allocations: 101 kB / 1.325 GB, free: 1.406 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-05/1.133, allocations: 180.2 kB / 1.325 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/1.133, allocations: 188.1 kB / 1.325 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.375e-05/1.133, allocations: 184.3 kB / 1.325 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.939e-05/1.133, allocations: 184.2 kB / 1.325 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/1.133, allocations: 315.6 kB / 1.326 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/1.133, allocations: 202 kB / 1.326 GB, free: 104 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/1.134, allocations: 184.2 kB / 1.326 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/1.134, allocations: 108.9 kB / 1.326 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/1.134, allocations: 176.3 kB / 1.326 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/1.134, allocations: 109 kB / 1.326 GB, free: 15.51 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002025/1.134, allocations: 169.2 kB / 1.327 GB, free: 15.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.134, allocations: 0 / 1.327 GB, free: 15.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004409/1.135, allocations: 71.94 kB / 1.327 GB, free: 15.27 MB / 1.061 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.0003049/1.135, allocations: 206.5 kB / 1.327 GB, free: 15.06 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005546/1.135, allocations: 293.4 kB / 1.327 GB, free: 14.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.135, allocations: 0 / 1.327 GB, free: 14.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-06/1.135, allocations: 7.938 kB / 1.327 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/1.136, allocations: 496.8 kB / 1.328 GB, free: 14.26 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/1.136, allocations: 318.8 kB / 1.328 GB, free: 13.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/1.137, allocations: 0.7083 MB / 1.329 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/1.137, allocations: 11.44 kB / 1.329 GB, free: 13.16 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/1.137, allocations: 0 / 1.329 GB, free: 13.16 MB / 1.061 GB Notification: Performance of Templates: time 0.004413/1.141, allocations: 2.389 MB / 1.331 GB, free: 10.79 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches