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.001722/0.00173, allocations: 112.8 kB / 16.41 MB, free: 6.5 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.001933/0.001933, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.653/1.653, 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 10.1.1-maint.10.0.x/package.mo): time 2.73/2.73, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9849/0.9868, allocations: 151.6 MB / 1.167 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.00324/0.9901, allocations: 1.71 MB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1804/1.171, allocations: 148.4 MB / 1.314 GB, free: 13.28 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/1.171, allocations: 0 / 1.314 GB, free: 13.28 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002492/1.171, allocations: 51.67 kB / 1.314 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/1.173, allocations: 446 kB / 1.314 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/1.173, allocations: 59.81 kB / 1.314 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002994/1.173, allocations: 151.3 kB / 1.315 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.519e-05/1.173, allocations: 13.19 kB / 1.315 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/1.173, allocations: 59.83 kB / 1.315 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/1.173, allocations: 63.77 kB / 1.315 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/1.174, allocations: 8 kB / 1.315 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/1.175, allocations: 0.5184 MB / 1.315 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/1.175, allocations: 23.91 kB / 1.315 GB, free: 11.9 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.337e-05/1.175, allocations: 51.73 kB / 1.315 GB, free: 11.85 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007788/1.176, allocations: 372 kB / 1.316 GB, free: 11.49 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.176, allocations: 0 / 1.316 GB, free: 11.49 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.874e-06/1.176, allocations: 0 / 1.316 GB, free: 11.49 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.866e-06/1.176, allocations: 0 / 1.316 GB, free: 11.49 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.0009325/1.177, allocations: 494.2 kB / 1.316 GB, free: 10.96 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/1.177, allocations: 8.031 kB / 1.316 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/1.178, allocations: 180 kB / 1.316 GB, free: 10.77 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/1.178, allocations: 316.8 kB / 1.317 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.463e-05/1.178, allocations: 158.5 kB / 1.317 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-05/1.178, allocations: 154.6 kB / 1.317 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.413e-05/1.179, allocations: 101 kB / 1.317 GB, free: 10.01 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.441e-05/1.179, allocations: 79.28 kB / 1.317 GB, free: 9.934 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.799e-05/1.179, allocations: 150.6 kB / 1.317 GB, free: 9.785 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.482e-05/1.179, allocations: 150.6 kB / 1.317 GB, free: 9.637 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.936e-05/1.179, allocations: 158.5 kB / 1.318 GB, free: 9.48 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/1.179, allocations: 0.5095 MB / 1.318 GB, free: 8.922 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/1.179, allocations: 169.1 kB / 1.318 GB, free: 8.746 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/1.18, allocations: 84.14 kB / 1.318 GB, free: 8.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/1.18, allocations: 75.28 kB / 1.318 GB, free: 8.586 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.855e-05/1.18, allocations: 105.8 kB / 1.318 GB, free: 8.473 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/1.18, allocations: 0 / 1.318 GB, free: 8.473 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0003354/1.18, allocations: 69.52 kB / 1.319 GB, free: 8.398 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/1.18, allocations: 126.7 kB / 1.319 GB, free: 8.262 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/1.18, allocations: 219.7 kB / 1.319 GB, free: 8.039 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/1.18, allocations: 29.7 kB / 1.319 GB, free: 8.004 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/1.181, allocations: 100.1 kB / 1.319 GB, free: 7.902 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.959e-06/1.181, allocations: 0 / 1.319 GB, free: 7.902 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/1.181, allocations: 29.66 kB / 1.319 GB, free: 7.867 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002118/1.181, allocations: 326.8 kB / 1.319 GB, free: 7.539 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/1.181, allocations: 20.84 kB / 1.319 GB, free: 7.516 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-05/1.181, allocations: 16 kB / 1.319 GB, free: 7.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.19e-05/1.181, allocations: 32.73 kB / 1.319 GB, free: 7.465 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.181, allocations: 0 / 1.319 GB, free: 7.465 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006266/1.182, allocations: 142.4 kB / 1.32 GB, free: 7.316 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.182, allocations: 4 kB / 1.32 GB, free: 7.312 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.182, allocations: 0 / 1.32 GB, free: 7.312 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007853/1.183, allocations: 148.7 kB / 1.32 GB, free: 7.164 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.295e-05/1.183, allocations: 12.11 kB / 1.32 GB, free: 7.152 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/1.185, allocations: 1.613 MB / 1.321 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/1.185, allocations: 15.88 kB / 1.321 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/1.185, allocations: 0 / 1.321 GB, free: 5.387 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001008/1.185, allocations: 104.1 kB / 1.321 GB, free: 5.281 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.011e-05/1.185, allocations: 19.97 kB / 1.321 GB, free: 5.262 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.18e-05/1.186, allocations: 24.86 kB / 1.321 GB, free: 5.234 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.173e-06/1.186, allocations: 0 / 1.321 GB, free: 5.234 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002563/1.186, allocations: 110.4 kB / 1.322 GB, free: 5.117 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.186, allocations: 4 kB / 1.322 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-06/1.186, allocations: 0 / 1.322 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003816/1.186, allocations: 112.7 kB / 1.322 GB, free: 5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.302e-05/1.186, allocations: 8 kB / 1.322 GB, free: 4.992 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/1.188, allocations: 1.466 MB / 1.323 GB, free: 3.379 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/1.188, allocations: 8.016 kB / 1.323 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/1.188, allocations: 0 / 1.323 GB, free: 3.371 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.0001652/1.188, allocations: 255.5 kB / 1.323 GB, free: 3.113 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.474e-05/1.188, allocations: 116.8 kB / 1.323 GB, free: 2.992 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.112e-05/1.188, allocations: 121.3 kB / 1.324 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.319e-05/1.188, allocations: 188.2 kB / 1.324 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-05/1.188, allocations: 176.3 kB / 1.324 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.46e-05/1.189, allocations: 180.3 kB / 1.324 GB, free: 2.312 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/1.189, allocations: 445.1 kB / 1.324 GB, free: 1.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.816e-05/1.189, allocations: 101 kB / 1.325 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-05/1.189, allocations: 116.9 kB / 1.325 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.615e-05/1.189, allocations: 184.2 kB / 1.325 GB, free: 1.406 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-05/1.189, allocations: 180.2 kB / 1.325 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.509e-05/1.189, allocations: 180.2 kB / 1.325 GB, free: 1.039 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.612e-05/1.189, allocations: 176.3 kB / 1.325 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/1.19, allocations: 323.7 kB / 1.326 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/1.19, allocations: 198 kB / 1.326 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/1.19, allocations: 188.1 kB / 1.326 GB, free: 112 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/1.19, allocations: 109 kB / 1.326 GB, free: 16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.19, allocations: 188.1 kB / 1.326 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/1.19, allocations: 105 kB / 1.326 GB, free: 15.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002414/1.191, allocations: 161.2 kB / 1.327 GB, free: 15.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.191, allocations: 4 kB / 1.327 GB, free: 15.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000475/1.191, allocations: 67.88 kB / 1.327 GB, free: 15.47 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.0003163/1.191, allocations: 206.4 kB / 1.327 GB, free: 15.26 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006084/1.192, allocations: 301.3 kB / 1.327 GB, free: 14.94 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.192, allocations: 0 / 1.327 GB, free: 14.94 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.886e-06/1.192, allocations: 0 / 1.327 GB, free: 14.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/1.193, allocations: 479.9 kB / 1.328 GB, free: 14.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005584/1.193, allocations: 316.8 kB / 1.328 GB, free: 14.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/1.194, allocations: 0.6967 MB / 1.329 GB, free: 13.4 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.744e-05/1.194, allocations: 12.55 kB / 1.329 GB, free: 13.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/1.194, allocations: 11.44 kB / 1.329 GB, free: 13.38 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/1.194, allocations: 0 / 1.329 GB, free: 13.38 MB / 1.061 GB Notification: Performance of Templates: time 0.007748/1.201, allocations: 3.077 MB / 1.332 GB, free: 10.34 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 -s cvode -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