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.004735/0.004735, allocations: 100.2 kB / 15.73 MB, free: 6.023 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.001025/0.001025, allocations: 197.6 kB / 16.68 MB, free: 5.938 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.433/2.433, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.037, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003012/1.04, allocations: 1.69 MB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1803/1.221, allocations: 148.4 MB / 1.313 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/1.221, allocations: 0 / 1.313 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000251/1.221, allocations: 55.61 kB / 1.313 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/1.222, allocations: 438 kB / 1.314 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/1.222, allocations: 59.81 kB / 1.314 GB, free: 12.58 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002093/1.223, allocations: 147.4 kB / 1.314 GB, free: 12.44 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/1.223, allocations: 9.203 kB / 1.314 GB, free: 12.43 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/1.223, allocations: 59.77 kB / 1.314 GB, free: 12.37 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/1.223, allocations: 67.77 kB / 1.314 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/1.223, allocations: 8 kB / 1.314 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000939/1.224, allocations: 0.5067 MB / 1.315 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/1.224, allocations: 23.92 kB / 1.315 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.088e-05/1.224, allocations: 51.73 kB / 1.315 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005641/1.225, allocations: 371.6 kB / 1.315 GB, free: 11.36 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/1.225, allocations: 0 / 1.315 GB, free: 11.36 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/1.225, allocations: 0 / 1.315 GB, free: 11.36 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.262e-06/1.225, allocations: 0 / 1.315 GB, free: 11.36 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.000708/1.225, allocations: 494.2 kB / 1.315 GB, free: 10.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/1.225, allocations: 8.031 kB / 1.315 GB, free: 10.82 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/1.227, allocations: 176 kB / 1.316 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/1.227, allocations: 324.7 kB / 1.316 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/1.227, allocations: 154.5 kB / 1.316 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/1.227, allocations: 150.6 kB / 1.316 GB, free: 9.988 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.027e-05/1.227, allocations: 109 kB / 1.316 GB, free: 9.875 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/1.227, allocations: 79.27 kB / 1.316 GB, free: 9.797 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/1.227, allocations: 154.6 kB / 1.317 GB, free: 9.645 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/1.227, allocations: 150.6 kB / 1.317 GB, free: 9.496 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.551e-05/1.227, allocations: 154.5 kB / 1.317 GB, free: 9.344 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/1.228, allocations: 0.5095 MB / 1.317 GB, free: 8.785 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.456e-05/1.228, allocations: 173.1 kB / 1.317 GB, free: 8.605 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/1.228, allocations: 80.14 kB / 1.318 GB, free: 8.523 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/1.228, allocations: 79.27 kB / 1.318 GB, free: 8.445 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/1.228, allocations: 109.8 kB / 1.318 GB, free: 8.328 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/1.228, allocations: 0 / 1.318 GB, free: 8.328 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0002892/1.228, allocations: 69.53 kB / 1.318 GB, free: 8.254 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/1.228, allocations: 126.7 kB / 1.318 GB, free: 8.117 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/1.229, allocations: 215.7 kB / 1.318 GB, free: 7.898 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/1.229, allocations: 29.7 kB / 1.318 GB, free: 7.863 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/1.229, allocations: 104.1 kB / 1.318 GB, free: 7.758 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/1.229, allocations: 0 / 1.318 GB, free: 7.758 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/1.229, allocations: 25.7 kB / 1.318 GB, free: 7.727 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.229, allocations: 326.8 kB / 1.319 GB, free: 7.398 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/1.229, allocations: 20.86 kB / 1.319 GB, free: 7.375 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.681e-05/1.229, allocations: 12 kB / 1.319 GB, free: 7.363 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.845e-05/1.229, allocations: 40.72 kB / 1.319 GB, free: 7.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.229, allocations: 0 / 1.319 GB, free: 7.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006126/1.23, allocations: 142.3 kB / 1.319 GB, free: 7.172 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.23, allocations: 4 kB / 1.319 GB, free: 7.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.23, allocations: 0 / 1.319 GB, free: 7.168 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007525/1.23, allocations: 148.6 kB / 1.319 GB, free: 7.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/1.231, allocations: 4 kB / 1.319 GB, free: 7.016 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/1.233, allocations: 1.616 MB / 1.321 GB, free: 5.262 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/1.233, allocations: 12.11 kB / 1.321 GB, free: 5.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/1.233, allocations: 8 kB / 1.321 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.911e-05/1.233, allocations: 100.1 kB / 1.321 GB, free: 5.141 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.222e-05/1.233, allocations: 16 kB / 1.321 GB, free: 5.125 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.629e-05/1.233, allocations: 24.86 kB / 1.321 GB, free: 5.098 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/1.233, allocations: 7.984 kB / 1.321 GB, free: 5.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002338/1.233, allocations: 110.3 kB / 1.321 GB, free: 4.973 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/1.233, allocations: 8 kB / 1.321 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/1.233, allocations: 0 / 1.321 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003499/1.234, allocations: 104.7 kB / 1.321 GB, free: 4.859 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/1.234, allocations: 7.984 kB / 1.321 GB, free: 4.852 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/1.235, allocations: 1.466 MB / 1.322 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/1.235, allocations: 0 / 1.322 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/1.235, allocations: 8.031 kB / 1.322 GB, free: 3.23 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.0001208/1.235, allocations: 251.5 kB / 1.323 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.902e-05/1.235, allocations: 116.8 kB / 1.323 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.837e-05/1.235, allocations: 125.2 kB / 1.323 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-05/1.235, allocations: 184.3 kB / 1.323 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.621e-05/1.235, allocations: 180.2 kB / 1.323 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.098e-05/1.235, allocations: 176.3 kB / 1.323 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/1.236, allocations: 453.1 kB / 1.324 GB, free: 1.676 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.532e-05/1.236, allocations: 101.2 kB / 1.324 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/1.236, allocations: 109 kB / 1.324 GB, free: 1.457 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.507e-05/1.236, allocations: 188.1 kB / 1.324 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.262e-05/1.236, allocations: 184.2 kB / 1.324 GB, free: 1.078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.438e-05/1.236, allocations: 184.2 kB / 1.325 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.371e-05/1.236, allocations: 180.2 kB / 1.325 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/1.236, allocations: 319.7 kB / 1.325 GB, free: 380 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/1.236, allocations: 198 kB / 1.325 GB, free: 156 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/1.237, allocations: 188.1 kB / 1.325 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/1.237, allocations: 105 kB / 1.325 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/1.237, allocations: 180.2 kB / 1.326 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/1.237, allocations: 105 kB / 1.326 GB, free: 15.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001955/1.237, allocations: 165.2 kB / 1.326 GB, free: 15.4 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.237, allocations: 0 / 1.326 GB, free: 15.4 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004198/1.238, allocations: 71.88 kB / 1.326 GB, free: 15.33 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.0003023/1.238, allocations: 214.4 kB / 1.326 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005354/1.238, allocations: 293.3 kB / 1.326 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.238, allocations: 4 kB / 1.326 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/1.238, allocations: 0 / 1.326 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/1.239, allocations: 483.6 kB / 1.327 GB, free: 14.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/1.239, allocations: 311.5 kB / 1.327 GB, free: 13.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/1.24, allocations: 0.6967 MB / 1.328 GB, free: 13.26 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.482e-05/1.24, allocations: 12.5 kB / 1.328 GB, free: 13.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/1.24, allocations: 15.42 kB / 1.328 GB, free: 13.23 MB / 1.061 GB Notification: Performance of SimCode: time 2.61e-07/1.24, allocations: 0 / 1.328 GB, free: 13.23 MB / 1.061 GB Notification: Performance of Templates: time 0.007228/1.247, allocations: 3.065 MB / 1.331 GB, free: 10.21 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/jenkins/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