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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 113.6 kB / 17.13 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 196.7 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.606/2.606, allocations: 443.5 MB / 0.7293 GB, free: 14.67 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.89 kB / 1.057 GB, free: 2.062 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3513, allocations: 160.7 MB / 1.214 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003481/0.3547, allocations: 1.69 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8122/1.167, allocations: 148.9 MB / 1.361 GB, free: 7.539 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/1.167, allocations: 1.031 kB / 1.361 GB, free: 7.539 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002232/1.167, allocations: 46.09 kB / 1.361 GB, free: 7.516 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/1.169, allocations: 444.6 kB / 1.362 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/1.169, allocations: 67.42 kB / 1.362 GB, free: 7.258 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/1.169, allocations: 146.6 kB / 1.362 GB, free: 7.188 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/1.169, allocations: 9.625 kB / 1.362 GB, free: 7.18 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.378e-05/1.169, allocations: 56.58 kB / 1.362 GB, free: 7.156 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/1.169, allocations: 69.72 kB / 1.362 GB, free: 7.125 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/1.169, allocations: 9.438 kB / 1.362 GB, free: 7.125 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/1.17, allocations: 0.5281 MB / 1.362 GB, free: 6.934 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/1.17, allocations: 20.39 kB / 1.362 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.085e-05/1.17, allocations: 60.69 kB / 1.363 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005893/1.171, allocations: 369.3 kB / 1.363 GB, free: 6.785 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.171, allocations: 2.219 kB / 1.363 GB, free: 6.785 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.313e-06/1.171, allocations: 0 / 1.363 GB, free: 6.785 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.431e-06/1.171, allocations: 4 kB / 1.363 GB, free: 6.781 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.0007731/1.172, allocations: 493.2 kB / 1.363 GB, free: 6.328 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/1.172, allocations: 8.969 kB / 1.363 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/1.173, allocations: 173.7 kB / 1.364 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/1.173, allocations: 317.7 kB / 1.364 GB, free: 5.934 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.527e-05/1.174, allocations: 160.9 kB / 1.364 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.129e-05/1.174, allocations: 153.2 kB / 1.364 GB, free: 5.629 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.734e-05/1.174, allocations: 102.2 kB / 1.364 GB, free: 5.523 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/1.174, allocations: 79.84 kB / 1.364 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.791e-05/1.174, allocations: 150.6 kB / 1.364 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.618e-05/1.174, allocations: 151.9 kB / 1.365 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/1.174, allocations: 155.8 kB / 1.365 GB, free: 4.996 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/1.174, allocations: 0.5048 MB / 1.365 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.883e-05/1.174, allocations: 175.6 kB / 1.365 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/1.175, allocations: 84.14 kB / 1.365 GB, free: 4.227 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/1.175, allocations: 75.28 kB / 1.366 GB, free: 4.152 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.492e-05/1.175, allocations: 107.9 kB / 1.366 GB, free: 4.039 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/1.175, allocations: 3.938 kB / 1.366 GB, free: 4.035 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0003045/1.175, allocations: 62.8 kB / 1.366 GB, free: 3.992 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/1.175, allocations: 127.6 kB / 1.366 GB, free: 3.855 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/1.175, allocations: 218.3 kB / 1.366 GB, free: 3.715 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/1.175, allocations: 31.05 kB / 1.366 GB, free: 3.68 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/1.175, allocations: 98.52 kB / 1.366 GB, free: 3.586 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/1.175, allocations: 5.188 kB / 1.366 GB, free: 3.582 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/1.176, allocations: 22.97 kB / 1.366 GB, free: 3.562 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.176, allocations: 323.8 kB / 1.367 GB, free: 3.242 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.122e-05/1.176, allocations: 20.19 kB / 1.367 GB, free: 3.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.361e-05/1.176, allocations: 18.08 kB / 1.367 GB, free: 3.223 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.984e-05/1.176, allocations: 29.8 kB / 1.367 GB, free: 3.203 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.176, allocations: 7.875 kB / 1.367 GB, free: 3.195 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006481/1.176, allocations: 140.7 kB / 1.367 GB, free: 3.121 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.177, allocations: 8.016 kB / 1.367 GB, free: 3.121 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.177, allocations: 1.125 kB / 1.367 GB, free: 3.121 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007963/1.177, allocations: 158.1 kB / 1.367 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/1.177, allocations: 7.875 kB / 1.367 GB, free: 3.082 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/1.18, allocations: 1.601 MB / 1.368 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/1.18, allocations: 14.06 kB / 1.368 GB, free: 1.562 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/1.18, allocations: 1.188 kB / 1.368 GB, free: 1.562 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.83e-05/1.18, allocations: 103.6 kB / 1.369 GB, free: 1.469 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.425e-05/1.18, allocations: 14.03 kB / 1.369 GB, free: 1.465 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.442e-05/1.18, allocations: 27.52 kB / 1.369 GB, free: 1.445 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/1.18, allocations: 0 / 1.369 GB, free: 1.445 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002608/1.18, allocations: 110.4 kB / 1.369 GB, free: 1.375 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/1.18, allocations: 6.219 kB / 1.369 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/1.18, allocations: 0 / 1.369 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003617/1.181, allocations: 117.6 kB / 1.369 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.294e-05/1.181, allocations: 4.75 kB / 1.369 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/1.182, allocations: 1.466 MB / 1.37 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/1.182, allocations: 4.344 kB / 1.37 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/1.182, allocations: 1.125 kB / 1.37 GB, free: 15.89 MB / 1.061 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.000152/1.182, allocations: 256 kB / 1.371 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.183, allocations: 118.3 kB / 1.371 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.426e-05/1.183, allocations: 126.8 kB / 1.371 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.588e-05/1.183, allocations: 181.5 kB / 1.371 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.989e-05/1.183, allocations: 177.6 kB / 1.371 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.786e-05/1.183, allocations: 179.8 kB / 1.371 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/1.183, allocations: 446.4 kB / 1.372 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.905e-05/1.183, allocations: 105 kB / 1.372 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/1.183, allocations: 112.9 kB / 1.372 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-05/1.183, allocations: 177.5 kB / 1.372 GB, free: 13.99 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.759e-05/1.183, allocations: 185.4 kB / 1.372 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-05/1.184, allocations: 181.2 kB / 1.372 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.519e-05/1.184, allocations: 179.8 kB / 1.373 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/1.184, allocations: 319.8 kB / 1.373 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/1.184, allocations: 199.2 kB / 1.373 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/1.184, allocations: 185.1 kB / 1.373 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/1.184, allocations: 111.5 kB / 1.373 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/1.184, allocations: 185.3 kB / 1.374 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/1.184, allocations: 109.7 kB / 1.374 GB, free: 12.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002241/1.185, allocations: 163.9 kB / 1.374 GB, free: 12.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/1.185, allocations: 0 / 1.374 GB, free: 12.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004773/1.185, allocations: 71 kB / 1.374 GB, free: 12.19 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.0002965/1.185, allocations: 204.4 kB / 1.374 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005942/1.186, allocations: 302 kB / 1.374 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.186, allocations: 0 / 1.374 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/1.186, allocations: 0 / 1.374 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/1.187, allocations: 482.2 kB / 1.375 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/1.187, allocations: 333.5 kB / 1.375 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/1.187, allocations: 0.6968 MB / 1.376 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/1.187, allocations: 13.89 kB / 1.376 GB, free: 10.33 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/1.187, allocations: 0 / 1.376 GB, free: 10.33 MB / 1.061 GB Notification: Performance of Templates: time 0.004513/1.192, allocations: 2.413 MB / 1.378 GB, free: 10.11 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.051408037776127]