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.001829/0.001829, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002366/0.002366, allocations: 216.4 kB / 22.25 MB, free: 5.082 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 8.016 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.812/2.812, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) [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.002048/0.002048, allocations: 69.8 kB / 1.117 GB, free: 39.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3242, allocations: 170 MB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003034/0.3273, allocations: 1.792 MB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001823/0.3274, allocations: 79.69 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.3275, allocations: 4 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.152e-05/0.3276, allocations: 7.875 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.699e-05/0.3276, allocations: 23.78 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.437e-05/0.3277, allocations: 31.84 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.3279, allocations: 111.7 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.328, allocations: 43.47 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.22e-05/0.3281, allocations: 43.83 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.3282, allocations: 47.83 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.3282, allocations: 12 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.941e-05/0.3282, allocations: 19.94 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.3282, allocations: 23.92 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.3283, allocations: 43.8 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.3285, allocations: 119.6 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3285, allocations: 0 / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3285, allocations: 0 / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.3285, allocations: 0 / 1.286 GB, free: 9.18 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.0006605/0.3291, allocations: 353.9 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3292, allocations: 12.03 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.3292, allocations: 38.73 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.3292, allocations: 16.84 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.3295, allocations: 141 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3295, allocations: 8.375 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.3295, allocations: 8.375 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.3299, allocations: 134.1 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3299, allocations: 3.938 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3299, allocations: 4 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3299, allocations: 0 / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.3303, allocations: 115.9 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.3309, allocations: 355.5 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.3312, allocations: 82.52 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.3314, allocations: 60.92 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.3314, allocations: 4 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.3315, allocations: 34.56 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3315, allocations: 3.938 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007275/0.3322, allocations: 197.5 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.3323, allocations: 55.41 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3324, allocations: 125.8 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3324, allocations: 25.7 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3325, allocations: 108 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.3325, allocations: 23.86 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.3326, allocations: 21.7 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3327, allocations: 310.8 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.3329, allocations: 51.94 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.3331, allocations: 55.94 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.3335, allocations: 108.7 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3335, allocations: 0 / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004482/0.334, allocations: 145.9 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.334, allocations: 8 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.334, allocations: 64 / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.334, allocations: 7.938 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.3342, allocations: 23.97 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3342, allocations: 0 / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.3343, allocations: 27.91 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3343, allocations: 4 kB / 1.288 GB, free: 6.363 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 9.455e-05/0.3344, allocations: 113.8 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.3344, allocations: 7.953 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.3345, allocations: 24.28 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3345, allocations: 0 / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3345, allocations: 0 / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3345, allocations: 0 / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.3347, allocations: 168.7 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3347, allocations: 7.984 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.3349, allocations: 35.91 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.3349, allocations: 0 / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3349, allocations: 3.938 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3349, allocations: 0 / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3349, allocations: 0 / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.3354, allocations: 239.4 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.3354, allocations: 11.94 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.3354, allocations: 7.875 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3355, allocations: 11.98 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.3356, allocations: 15.98 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.3356, allocations: 0 / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.74e-05/0.3357, allocations: 101.6 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3357, allocations: 0 / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002552/0.3359, allocations: 23.94 kB / 1.289 GB, free: 5.531 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.0008193/0.3367, allocations: 0.767 MB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004646/0.3372, allocations: 120 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3372, allocations: 0 / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.3374, allocations: 59.88 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.3378, allocations: 22.27 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.3401, allocations: 1.59 MB / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.3404, allocations: 0.6963 MB / 1.292 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.421e-05/0.3405, allocations: 3.984 kB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.3405, allocations: 27.44 kB / 1.292 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.3405, allocations: 0 / 1.292 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/0.3716, allocations: 2.361 MB / 1.295 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.9, allocations: 15 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 420.0] 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: 18.718084649881348]