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.001645/0.001645, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002091/0.002091, allocations: 211.8 kB / 22.24 MB, free: 4.855 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.793 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.332/3.332, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_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.002339/0.002339, allocations: 63.97 kB / 1.186 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4132, allocations: 181.9 MB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003466/0.4167, allocations: 1.74 MB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002303/0.4169, allocations: 83.72 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.417, allocations: 0 / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.779e-05/0.417, allocations: 7.875 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.067e-05/0.4171, allocations: 19.8 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.4172, allocations: 31.97 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.4174, allocations: 111.7 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.4175, allocations: 45.16 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.451e-05/0.4176, allocations: 35.91 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/0.4177, allocations: 47.77 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.4177, allocations: 15.94 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.104e-05/0.4177, allocations: 15.94 kB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.888e-05/0.4178, allocations: 19.92 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.499e-05/0.4178, allocations: 39.8 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.418, allocations: 119.5 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.418, allocations: 0 / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.435e-06/0.418, allocations: 0 / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.418, allocations: 0 / 1.366 GB, free: 11.87 MB / 1.061 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.0007183/0.4187, allocations: 353.9 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4188, allocations: 8.031 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.4188, allocations: 38.75 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.4189, allocations: 16.84 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.4191, allocations: 146.3 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4191, allocations: 8.375 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.4191, allocations: 4.375 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.4195, allocations: 124.1 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4195, allocations: 3.938 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4195, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.4196, allocations: 4 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.42, allocations: 127.8 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.4206, allocations: 335.6 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.421, allocations: 94.48 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.4212, allocations: 56.94 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.4213, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.4213, allocations: 30.56 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.4213, allocations: 3.938 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0007932/0.4221, allocations: 205.5 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.4221, allocations: 55.41 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.4223, allocations: 117.8 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.4223, allocations: 25.7 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4224, allocations: 112 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.4224, allocations: 19.89 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.4225, allocations: 17.72 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.4227, allocations: 322.8 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.4229, allocations: 43.95 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.4231, allocations: 56.19 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.4236, allocations: 108.8 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4236, allocations: 3.938 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005098/0.4241, allocations: 141.5 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4241, allocations: 7.984 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4241, allocations: 0 / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.319e-05/0.4242, allocations: 11.88 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.4243, allocations: 27.97 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4243, allocations: 0 / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.4244, allocations: 19.94 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.4245, allocations: 4 kB / 1.368 GB, free: 9.074 MB / 1.061 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.0001196/0.4246, allocations: 121.8 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.4246, allocations: 4 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.4246, allocations: 20.31 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4246, allocations: 0 / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4247, allocations: 3.938 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4247, allocations: 0 / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.4249, allocations: 164.7 kB / 1.369 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4249, allocations: 0 / 1.369 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.425, allocations: 31.97 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.425, allocations: 0 / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4251, allocations: 7.938 kB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4251, allocations: 0 / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4251, allocations: 0 / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.4256, allocations: 239.6 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.4256, allocations: 15.95 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.4256, allocations: 7.875 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.4258, allocations: 15.97 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.4258, allocations: 11.98 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.4259, allocations: 3.938 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.271e-05/0.4259, allocations: 97.66 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4259, allocations: 0 / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002419/0.4262, allocations: 23.94 kB / 1.369 GB, free: 8.254 MB / 1.061 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.0009113/0.4271, allocations: 0.7671 MB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004899/0.4276, allocations: 119.8 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4276, allocations: 0 / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.4278, allocations: 55.95 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.4282, allocations: 11.98 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.4308, allocations: 1.596 MB / 1.371 GB, free: 5.602 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.4309, allocations: 92.11 kB / 1.372 GB, free: 5.492 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.149e-05/0.4309, allocations: 4 kB / 1.372 GB, free: 5.488 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.431, allocations: 31.42 kB / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of SimCode: time 6.22e-07/0.431, allocations: 4 kB / 1.372 GB, free: 5.453 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.4637, allocations: 2.844 MB / 1.374 GB, free: 2.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.55, allocations: 12.73 kB / 1.374 GB, free: 2.738 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 840.0] 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: 18.57366788201034]