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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001629/0.00163, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002299/0.002299, allocations: 194 kB / 16.53 MB, free: 6.391 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 472.6 MB / 0.7452 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 62.83 kB / 0.9121 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3284, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003297/0.3318, allocations: 1.691 MB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1547/0.4865, allocations: 148.4 MB / 1.215 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.416e-05/0.4866, allocations: 0 / 1.215 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.4869, allocations: 43.97 kB / 1.215 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.4881, allocations: 441.9 kB / 1.215 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.4882, allocations: 59.86 kB / 1.215 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.4884, allocations: 143.3 kB / 1.216 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.4884, allocations: 9.406 kB / 1.216 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.512e-05/0.4885, allocations: 51.83 kB / 1.216 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.4886, allocations: 67.75 kB / 1.216 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.4887, allocations: 12 kB / 1.216 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008714/0.4896, allocations: 0.5106 MB / 1.216 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.4896, allocations: 23.92 kB / 1.216 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.4897, allocations: 55.7 kB / 1.216 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.4902, allocations: 375.1 kB / 1.217 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4902, allocations: 0 / 1.217 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4902, allocations: 0 / 1.217 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.4902, allocations: 0 / 1.217 GB, free: 1.879 MB / 0.9669 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.0006267/0.4908, allocations: 478.7 kB / 1.217 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.4909, allocations: 8.031 kB / 1.217 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.492, allocations: 176 kB / 1.217 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.4924, allocations: 320.1 kB / 1.218 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/0.4924, allocations: 154.5 kB / 1.218 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.4925, allocations: 158.5 kB / 1.218 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.28e-05/0.4926, allocations: 101 kB / 1.218 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.4926, allocations: 79.22 kB / 1.218 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.4927, allocations: 150.6 kB / 1.218 GB, free: 196 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.597e-05/0.4927, allocations: 158.6 kB / 1.218 GB, free: 36 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.611e-05/0.4928, allocations: 150.6 kB / 1.218 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.4932, allocations: 0.5172 MB / 1.219 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.127e-05/0.4933, allocations: 177.1 kB / 1.219 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.4934, allocations: 88.08 kB / 1.219 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.4934, allocations: 75.28 kB / 1.219 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.4935, allocations: 105.8 kB / 1.219 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.4935, allocations: 0 / 1.219 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0002996/0.4938, allocations: 61.53 kB / 1.219 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.4939, allocations: 134.7 kB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.4942, allocations: 215.2 kB / 1.22 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.4942, allocations: 25.7 kB / 1.22 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.4943, allocations: 104 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.4943, allocations: 0 / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.4943, allocations: 25.7 kB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4945, allocations: 322.8 kB / 1.22 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.4945, allocations: 24.8 kB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.004e-05/0.4946, allocations: 19.98 kB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.745e-05/0.4946, allocations: 36.92 kB / 1.22 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4946, allocations: 0 / 1.22 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006155/0.4953, allocations: 134.3 kB / 1.22 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4953, allocations: 7.984 kB / 1.22 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4953, allocations: 0 / 1.22 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007712/0.4961, allocations: 144.7 kB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.4962, allocations: 8 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.4981, allocations: 1.608 MB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.4983, allocations: 11.84 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4983, allocations: 7.984 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.112e-05/0.4984, allocations: 97.89 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.982e-05/0.4984, allocations: 12 kB / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.169e-05/0.4985, allocations: 40.97 kB / 1.222 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.71e-07/0.4985, allocations: 0 / 1.222 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002335/0.4987, allocations: 102.4 kB / 1.222 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/0.4988, allocations: 8 kB / 1.222 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-06/0.4988, allocations: 0 / 1.222 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003488/0.4991, allocations: 120.6 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.249e-05/0.4992, allocations: 4 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.5003, allocations: 1.465 MB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.5005, allocations: 7.969 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.5005, allocations: 3.938 kB / 1.224 GB, free: 9.766 MB / 0.9825 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.0001085/0.5006, allocations: 259.5 kB / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.5007, allocations: 117 kB / 1.224 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.5008, allocations: 113.5 kB / 1.224 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-05/0.5008, allocations: 184.2 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.903e-05/0.5009, allocations: 180.2 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.079e-05/0.5009, allocations: 180.2 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.5012, allocations: 449.2 kB / 1.225 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-05/0.5013, allocations: 101 kB / 1.225 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.5013, allocations: 104.9 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.997e-05/0.5014, allocations: 184.3 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-05/0.5014, allocations: 188.1 kB / 1.226 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-05/0.5015, allocations: 176.3 kB / 1.226 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.425e-05/0.5015, allocations: 188.2 kB / 1.226 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.5017, allocations: 311.6 kB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.5018, allocations: 201.9 kB / 1.227 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.418e-05/0.5019, allocations: 184.3 kB / 1.227 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.5021, allocations: 112.9 kB / 1.227 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.5022, allocations: 180.2 kB / 1.227 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.5022, allocations: 105 kB / 1.227 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001941/0.5024, allocations: 161.1 kB / 1.227 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5024, allocations: 0 / 1.227 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004135/0.5028, allocations: 71.98 kB / 1.228 GB, free: 5.879 MB / 0.9825 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.00025/0.5031, allocations: 214.9 kB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005129/0.5036, allocations: 297.4 kB / 1.228 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.5036, allocations: 0 / 1.228 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.5036, allocations: 4 kB / 1.228 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.5041, allocations: 481.3 kB / 1.228 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.5045, allocations: 305.3 kB / 1.229 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.5048, allocations: 0.7045 MB / 1.229 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.645e-05/0.5048, allocations: 16.53 kB / 1.229 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.5049, allocations: 11.44 kB / 1.229 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.5049, allocations: 0 / 1.229 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of Templates: time 0.006453/0.5113, allocations: 3.048 MB / 1.232 GB, free: 0.7773 MB / 0.9825 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 -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/jenkins/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