Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001715/0.001715, allocations: 110.2 kB / 19.69 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.002487/0.002487, allocations: 218 kB / 23.01 MB, free: 4.566 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.267/3.267, allocations: 0.505 GB / 0.8108 GB, free: 21.96 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002024/0.002024, allocations: 66.58 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3678, allocations: 180.2 MB / 1.354 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003265/0.3711, allocations: 1.78 MB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001876/0.3713, allocations: 79.69 kB / 1.356 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.3713, allocations: 0 / 1.356 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.088e-05/0.3714, allocations: 19.86 kB / 1.356 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.3715, allocations: 15.8 kB / 1.356 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.3716, allocations: 35.95 kB / 1.356 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.3717, allocations: 103.7 kB / 1.356 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.3719, allocations: 45.22 kB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.309e-05/0.372, allocations: 43.84 kB / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.945e-05/0.3721, allocations: 51.77 kB / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.3721, allocations: 8 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.819e-05/0.3721, allocations: 12 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.3722, allocations: 27.92 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.3722, allocations: 51.72 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.3724, allocations: 115.5 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3724, allocations: 0 / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3724, allocations: 0 / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3724, allocations: 0 / 1.356 GB, free: 5.492 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007087/0.3731, allocations: 361.8 kB / 1.357 GB, free: 5.105 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3732, allocations: 8.031 kB / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.3732, allocations: 12.88 kB / 1.357 GB, free: 5.086 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.3734, allocations: 138.3 kB / 1.357 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3734, allocations: 8.375 kB / 1.357 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.3735, allocations: 8.375 kB / 1.357 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.3738, allocations: 123.7 kB / 1.357 GB, free: 4.785 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3738, allocations: 8.172 kB / 1.357 GB, free: 4.777 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.3739, allocations: 11.94 kB / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3739, allocations: 3.938 kB / 1.357 GB, free: 4.762 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.3743, allocations: 115.9 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.3748, allocations: 355.5 kB / 1.358 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.3752, allocations: 90.52 kB / 1.358 GB, free: 4.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.3754, allocations: 64.86 kB / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.3754, allocations: 0 / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3755, allocations: 34.56 kB / 1.358 GB, free: 4.051 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.3755, allocations: 0 / 1.358 GB, free: 4.051 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0007521/0.3762, allocations: 197.5 kB / 1.358 GB, free: 3.852 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.3763, allocations: 51.41 kB / 1.358 GB, free: 3.789 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3764, allocations: 123.4 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3764, allocations: 29.7 kB / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.3765, allocations: 108.1 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.3765, allocations: 19.86 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.3765, allocations: 25.7 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3767, allocations: 314.8 kB / 1.359 GB, free: 3.148 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.3769, allocations: 51.88 kB / 1.359 GB, free: 3.098 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.3771, allocations: 51.94 kB / 1.359 GB, free: 3.047 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.3775, allocations: 108.8 kB / 1.359 GB, free: 2.938 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3775, allocations: 0 / 1.359 GB, free: 2.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004281/0.3779, allocations: 141.5 kB / 1.359 GB, free: 2.793 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3779, allocations: 7.938 kB / 1.359 GB, free: 2.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3779, allocations: 0 / 1.359 GB, free: 2.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.3779, allocations: 7.938 kB / 1.359 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3781, allocations: 27.91 kB / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3781, allocations: 0 / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.3782, allocations: 27.91 kB / 1.359 GB, free: 2.723 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3782, allocations: 4 kB / 1.359 GB, free: 2.719 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 (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.0001014/0.3783, allocations: 118.4 kB / 1.359 GB, free: 2.594 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.3784, allocations: 11.94 kB / 1.359 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.3784, allocations: 12.36 kB / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3784, allocations: 7.938 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3784, allocations: 0 / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3784, allocations: 0 / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.3786, allocations: 168.7 kB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3786, allocations: 448 / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.3788, allocations: 35.95 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3788, allocations: 0 / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3788, allocations: 4 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3788, allocations: 3.938 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3788, allocations: 0 / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.3793, allocations: 243.3 kB / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.3793, allocations: 11.88 kB / 1.36 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.3793, allocations: 0 / 1.36 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.3795, allocations: 23.92 kB / 1.36 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.3795, allocations: 7.984 kB / 1.36 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.3795, allocations: 0 / 1.36 GB, free: 2.012 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.516e-05/0.3796, allocations: 109.5 kB / 1.36 GB, free: 1.906 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3796, allocations: 0 / 1.36 GB, free: 1.906 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002335/0.3798, allocations: 19.89 kB / 1.36 GB, free: 1.887 MB / 1.045 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.0001237/0.38, allocations: 95.25 kB / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004782/0.3804, allocations: 115.8 kB / 1.36 GB, free: 1.672 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3804, allocations: 0 / 1.36 GB, free: 1.672 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.3807, allocations: 55.94 kB / 1.36 GB, free: 1.617 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.381, allocations: 13.48 kB / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.3815, allocations: 228.2 kB / 1.36 GB, free: 1.352 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.3819, allocations: 0.6963 MB / 1.361 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.3819, allocations: 19.38 kB / 1.361 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3819, allocations: 0 / 1.361 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of Templates: time 0.003115/0.3851, allocations: 1.209 MB / 1.362 GB, free: 15.41 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.630973325984087]