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.002073/0.002073, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002904/0.002904, allocations: 217.2 kB / 23.01 MB, free: 4.609 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.826/2.826, allocations: 476.8 MB / 0.7714 GB, free: 4.297 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.002071/0.002071, allocations: 66.69 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4206, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003537/0.4242, allocations: 1.787 MB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002024/0.4244, allocations: 83.67 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.049e-05/0.4245, allocations: 0 / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.744e-05/0.4245, allocations: 11.86 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.456e-05/0.4246, allocations: 19.75 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.4247, allocations: 39.89 kB / 1.287 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.4249, allocations: 107.7 kB / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.4251, allocations: 49.2 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.17e-05/0.4251, allocations: 35.86 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.95e-05/0.4252, allocations: 47.83 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.4253, allocations: 12 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.879e-05/0.4253, allocations: 15.94 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.4253, allocations: 19.92 kB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.4254, allocations: 51.78 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.4256, allocations: 111.5 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4256, allocations: 3.938 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4256, allocations: 4 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.4256, allocations: 0 / 1.287 GB, free: 8.875 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.0007534/0.4263, allocations: 353.8 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.4264, allocations: 12.03 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.4264, allocations: 8.891 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.4266, allocations: 142.3 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4267, allocations: 12.38 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.4267, allocations: 12.38 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.4271, allocations: 126.1 kB / 1.288 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4271, allocations: 192 / 1.288 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.4271, allocations: 7.938 kB / 1.288 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.4271, allocations: 4 kB / 1.288 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.4276, allocations: 119.9 kB / 1.288 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.4281, allocations: 347.6 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.4285, allocations: 90.52 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.4287, allocations: 56.92 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.4287, allocations: 3.938 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.4287, allocations: 34.56 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4287, allocations: 0 / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007233/0.4295, allocations: 197.5 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.4295, allocations: 59.41 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.4296, allocations: 124.6 kB / 1.289 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.4297, allocations: 25.7 kB / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.4297, allocations: 112 kB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.4298, allocations: 15.86 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.4298, allocations: 17.72 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.43, allocations: 322.8 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.4302, allocations: 51.94 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.4304, allocations: 51.89 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.4308, allocations: 108.7 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4308, allocations: 4 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004349/0.4312, allocations: 141.5 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4312, allocations: 4 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4312, allocations: 0 / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.4312, allocations: 7.938 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.4314, allocations: 31.97 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4314, allocations: 3.938 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.4315, allocations: 20.34 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.4315, allocations: 4 kB / 1.289 GB, free: 6.109 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.0001058/0.4316, allocations: 113.8 kB / 1.29 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.4317, allocations: 11.95 kB / 1.29 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.4317, allocations: 12.36 kB / 1.29 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4317, allocations: 3.938 kB / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4317, allocations: 4 kB / 1.29 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.4317, allocations: 4 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.4319, allocations: 172.7 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4319, allocations: 0 / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.4321, allocations: 23.97 kB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4321, allocations: 0 / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4321, allocations: 8 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.4321, allocations: 7.922 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4321, allocations: 0 / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.4326, allocations: 239.3 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.4326, allocations: 11.95 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.4326, allocations: 3.984 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.4328, allocations: 27.86 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.4328, allocations: 7.969 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.4328, allocations: 4 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.242e-05/0.4329, allocations: 95.27 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4329, allocations: 4 kB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002276/0.4331, allocations: 19.89 kB / 1.29 GB, free: 5.273 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.0001302/0.4333, allocations: 103.2 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004621/0.4337, allocations: 111.8 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4337, allocations: 0 / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.4339, allocations: 59.94 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.4343, allocations: 12.89 kB / 1.291 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005552/0.4349, allocations: 228.2 kB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.4352, allocations: 0.7039 MB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.4353, allocations: 15.44 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4353, allocations: 0 / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of Templates: time 0.002997/0.4383, allocations: 1.204 MB / 1.293 GB, free: 2.793 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.842454741999973]