Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 223 kB / 23 MB, free: 4.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.897/2.897, allocations: 476 MB / 0.7707 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 65.28 kB / 1.118 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3986, allocations: 170 MB / 1.284 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003493/0.4021, allocations: 1.744 MB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001938/0.4023, allocations: 83.67 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.313e-05/0.4023, allocations: 0 / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.744e-05/0.4024, allocations: 11.86 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.922e-05/0.4024, allocations: 15.81 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.4026, allocations: 35.95 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.4027, allocations: 115.6 kB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.4029, allocations: 37.22 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.332e-05/0.403, allocations: 43.86 kB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.4031, allocations: 39.77 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.4031, allocations: 12 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.517e-05/0.4031, allocations: 12 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.4032, allocations: 19.92 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.46e-05/0.4032, allocations: 47.78 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.4034, allocations: 103.6 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4034, allocations: 4 kB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.103e-06/0.4034, allocations: 0 / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.4034, allocations: 4 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007371/0.4042, allocations: 349.9 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4042, allocations: 8.031 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.4043, allocations: 20.78 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.4045, allocations: 146.3 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.4045, allocations: 8.375 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.4046, allocations: 12.38 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.4049, allocations: 124 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4049, allocations: 4.188 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.405, allocations: 7.938 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.405, allocations: 0 / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.4054, allocations: 127.8 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.406, allocations: 296.2 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.4063, allocations: 82.52 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.4066, allocations: 60.92 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.4066, allocations: 0 / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.4066, allocations: 38.56 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.4066, allocations: 0 / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007654/0.4074, allocations: 201.8 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.4074, allocations: 55.34 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.4076, allocations: 128.8 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.4076, allocations: 25.7 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.4077, allocations: 108 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.4077, allocations: 19.86 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.4077, allocations: 17.72 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.4079, allocations: 318.8 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.4081, allocations: 55.94 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.4083, allocations: 47.95 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.4087, allocations: 112.7 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4087, allocations: 0 / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004514/0.4092, allocations: 141.5 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4092, allocations: 8 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4092, allocations: 0 / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4092, allocations: 4 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.4094, allocations: 23.97 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4094, allocations: 7.938 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.4095, allocations: 23.91 kB / 1.289 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.4095, allocations: 4 kB / 1.289 GB, free: 6.871 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 (6): * Single equations (assignments): 6 * 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 prepare postOptimizeDAE: time 0.0001065/0.4096, allocations: 113.8 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.4096, allocations: 11.89 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.4097, allocations: 12.31 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.4097, allocations: 4 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4097, allocations: 3.938 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4097, allocations: 3.984 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.4099, allocations: 137.3 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4099, allocations: 0 / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.41, allocations: 23.97 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.41, allocations: 0 / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.41, allocations: 4 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.41, allocations: 4.25 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.41, allocations: 8 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/0.4106, allocations: 243.3 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.4106, allocations: 11.95 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.4106, allocations: 0 / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.4107, allocations: 19.97 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.4108, allocations: 19.86 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.4108, allocations: 4 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.426e-05/0.4109, allocations: 95.27 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4109, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002295/0.4111, allocations: 19.94 kB / 1.289 GB, free: 6.082 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 (6): * Single equations (assignments): 6 * 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.0001277/0.4112, allocations: 95.25 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004798/0.4117, allocations: 111.9 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4117, allocations: 0 / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.4119, allocations: 59.88 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.4123, allocations: 18.27 kB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.4128, allocations: 224.3 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.931e-05/0.4129, allocations: 91.98 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.4129, allocations: 11.44 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.4129, allocations: 0 / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of Templates: time 0.003111/0.416, allocations: 1.241 MB / 1.291 GB, free: 4.195 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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: 11.626218931749463]