Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001736/0.001736, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001916/0.001916, allocations: 214.2 kB / 22.99 MB, free: 4.945 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.319/3.319, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002095/0.002095, allocations: 73.2 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4435, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.00495/0.4484, allocations: 1.733 MB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003347/0.4487, allocations: 79.67 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.4489, allocations: 11.94 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.525e-05/0.4489, allocations: 7.875 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.449, allocations: 19.78 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.4492, allocations: 32.05 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.4495, allocations: 111.7 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.4497, allocations: 45.14 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.4498, allocations: 39.84 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.4499, allocations: 43.77 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.4499, allocations: 12 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.551e-05/0.45, allocations: 12 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.45, allocations: 27.92 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.567e-05/0.4501, allocations: 39.8 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.4504, allocations: 111.6 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4504, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4504, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.4504, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 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.001081/0.4515, allocations: 357.8 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.4515, allocations: 16.03 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.4516, allocations: 8.891 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.4519, allocations: 138.3 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.4519, allocations: 8.375 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.4519, allocations: 12.36 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.4525, allocations: 130.1 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.4525, allocations: 4.188 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.4525, allocations: 11.94 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.4526, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006422/0.4532, allocations: 121.8 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.4539, allocations: 296.2 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.4543, allocations: 90.5 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.4546, allocations: 60.81 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.4547, allocations: 4 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4547, allocations: 34.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.4547, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.001041/0.4557, allocations: 193.7 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.4558, allocations: 63.33 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.456, allocations: 120 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.456, allocations: 29.7 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.753e-05/0.4561, allocations: 112 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.4561, allocations: 19.84 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.4562, allocations: 21.72 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002222/0.4564, allocations: 318.8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.4567, allocations: 43.95 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.457, allocations: 59.88 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.4576, allocations: 104.8 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4576, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006683/0.4583, allocations: 141.5 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4583, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.4583, allocations: 7.984 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.4584, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.4586, allocations: 23.97 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.4586, allocations: 3.938 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.4588, allocations: 27.92 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.4588, allocations: 448 / 1.331 GB, free: 12.83 MB / 1.029 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.0001408/0.4589, allocations: 122.3 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.459, allocations: 7.953 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.459, allocations: 12.38 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.459, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.459, allocations: 7.938 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.459, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.4593, allocations: 129.3 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4593, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.4595, allocations: 35.97 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4595, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.4595, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4595, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4595, allocations: 7.922 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007526/0.4603, allocations: 247.3 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.4603, allocations: 7.953 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.4603, allocations: 3.984 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.4605, allocations: 11.98 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.4606, allocations: 15.92 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.4606, allocations: 3.938 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001277/0.4608, allocations: 97.52 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4608, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004169/0.4612, allocations: 27.89 kB / 1.332 GB, free: 12.05 MB / 1.029 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.0001763/0.4614, allocations: 103.2 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006963/0.4621, allocations: 107.9 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4621, allocations: 3.938 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.4624, allocations: 59.94 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.4629, allocations: 11.98 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.4636, allocations: 224.2 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.4637, allocations: 92.11 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.4637, allocations: 11.44 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.4637, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of Templates: time 0.004113/0.4678, allocations: 1.248 MB / 1.334 GB, free: 10.15 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.896373484283686]