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.001368/0.001368, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.001507/0.001507, allocations: 215.9 kB / 22.24 MB, free: 5.242 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.809 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.837/2.837, allocations: 476 MB / 0.7699 GB, free: 4.695 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.002078/0.002078, allocations: 69.47 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3557, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003441/0.3592, allocations: 1.74 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001922/0.3594, allocations: 87.61 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.3594, allocations: 4 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.772e-05/0.3595, allocations: 11.86 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.3595, allocations: 11.81 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.3597, allocations: 35.95 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.3598, allocations: 103.7 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.36, allocations: 45.27 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.054e-05/0.3601, allocations: 39.86 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.3601, allocations: 47.77 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.3602, allocations: 12 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.836e-05/0.3602, allocations: 8 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.3602, allocations: 27.91 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.3603, allocations: 39.8 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.3604, allocations: 109 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3605, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3605, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.3605, allocations: 11.92 kB / 1.285 GB, free: 10.14 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.0007241/0.3612, allocations: 349.9 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.3612, allocations: 12.03 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.3613, allocations: 34.75 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.3613, allocations: 16.84 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.3616, allocations: 142.3 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3616, allocations: 4.375 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.3616, allocations: 12.38 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.362, allocations: 132.1 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.362, allocations: 3.938 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.362, allocations: 0 / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.362, allocations: 4 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.3625, allocations: 123.9 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.363, allocations: 323.6 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.3634, allocations: 86.52 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.3636, allocations: 64.86 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3636, allocations: 4 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.3637, allocations: 30.56 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3637, allocations: 0 / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007469/0.3644, allocations: 197.6 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.3645, allocations: 55.34 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3646, allocations: 133 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3646, allocations: 25.7 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.3647, allocations: 108 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.3647, allocations: 19.86 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.3647, allocations: 21.7 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3649, allocations: 318.8 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.3651, allocations: 55.88 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.3653, allocations: 51.94 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.3657, allocations: 113.1 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3657, allocations: 0 / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004594/0.3662, allocations: 137.5 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3662, allocations: 4 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3662, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3662, allocations: 7.938 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.3664, allocations: 35.91 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.3664, allocations: 0 / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.3665, allocations: 15.97 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.3665, allocations: 4 kB / 1.287 GB, free: 7.359 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.64e-05/0.3666, allocations: 113.8 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.3666, allocations: 7.953 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.3667, allocations: 20.3 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3667, allocations: 4 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3667, allocations: 0 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3667, allocations: 0 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.3669, allocations: 172.6 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3669, allocations: 0 / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.367, allocations: 23.97 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.367, allocations: 4 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3671, allocations: 11.88 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3671, allocations: 0 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3671, allocations: 4 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.3676, allocations: 239.3 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.3676, allocations: 7.953 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3676, allocations: 12.05 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.3678, allocations: 23.97 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.3678, allocations: 8 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.3678, allocations: 3.984 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.511e-05/0.3679, allocations: 95.27 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3679, allocations: 0 / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002296/0.3681, allocations: 23.94 kB / 1.288 GB, free: 6.523 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.0008885/0.369, allocations: 0.7747 MB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000495/0.3695, allocations: 107.8 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3695, allocations: 0 / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.3697, allocations: 67.88 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.3701, allocations: 8 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.3725, allocations: 1.586 MB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.414e-05/0.3726, allocations: 84.2 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.07e-05/0.3727, allocations: 7.984 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.3727, allocations: 23.44 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.3727, allocations: 4 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.4025, allocations: 2.85 MB / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.38, allocations: 3.141 kB / 1.294 GB, free: 1.047 MB / 0.9825 GB " [Timeout remaining time 288] (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.093051449861377]