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.001849/0.001849, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002341/0.002341, allocations: 215 kB / 20.13 MB, free: 2.949 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.606/1.606, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.09/3.09, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="cs",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.002459/0.002459, allocations: 72.17 kB / 1.165 GB, free: 480 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9808/0.9833, allocations: 178.9 MB / 1.34 GB, free: 16.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.005313/0.9886, allocations: 1.79 MB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003223/0.9889, allocations: 75.61 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.9891, allocations: 1.25 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.151e-05/0.9892, allocations: 13.97 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.9893, allocations: 16.12 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.9894, allocations: 37.67 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.9896, allocations: 110 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.9899, allocations: 39.2 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.99, allocations: 45.39 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.9901, allocations: 47.8 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.9901, allocations: 10.41 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.733e-05/0.9902, allocations: 11.25 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.9902, allocations: 30.95 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.69e-05/0.9903, allocations: 47.53 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.9906, allocations: 111.8 kB / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.9906, allocations: 7.938 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9906, allocations: 0 / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.9906, allocations: 1.703 kB / 1.342 GB, free: 14.62 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.0009492/0.9916, allocations: 431.2 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.9916, allocations: 10 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.506e-05/0.9916, allocations: 2.375 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.9917, allocations: 47.52 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.9917, allocations: 10.33 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.992, allocations: 200.3 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.992, allocations: 3.938 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.9921, allocations: 10 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004764/0.9925, allocations: 131.3 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.9925, allocations: 0 / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.9926, allocations: 5.25 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.9926, allocations: 7.047 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007148/0.9933, allocations: 125.3 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007445/0.994, allocations: 379.2 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.9945, allocations: 86.81 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.9949, allocations: 57.47 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.9949, allocations: 4 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.9949, allocations: 36.06 kB / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 2.936e-06/0.9949, allocations: 1.375 kB / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.001042/0.996, allocations: 192 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.996, allocations: 53.39 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.9961, allocations: 125.1 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.9961, allocations: 29.7 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.9962, allocations: 109.5 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.9962, allocations: 24.36 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.9963, allocations: 19.02 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.9964, allocations: 322.8 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.9967, allocations: 50.23 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.9971, allocations: 55.48 kB / 1.345 GB, free: 12.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006522/0.9977, allocations: 107.4 kB / 1.345 GB, free: 12.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9977, allocations: 0 / 1.345 GB, free: 12.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007532/0.9985, allocations: 148 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.9985, allocations: 6.062 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.9985, allocations: 3.938 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.9985, allocations: 1.375 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.9988, allocations: 26.08 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.9988, allocations: 0.6094 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.9989, allocations: 16.42 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.999, allocations: 9.312 kB / 1.345 GB, free: 12.58 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 8.93e-05/0.999, allocations: 120.3 kB / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.9991, allocations: 12.73 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.9991, allocations: 14.86 kB / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.9991, allocations: 1.375 kB / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.9992, allocations: 0 / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.9992, allocations: 1.984 kB / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.9994, allocations: 195.3 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9994, allocations: 1.375 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.9997, allocations: 34.2 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.9997, allocations: 0 / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.9997, allocations: 3.938 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.9997, allocations: 2.031 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9997, allocations: 0 / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008368/1.001, allocations: 248.4 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/1.001, allocations: 83.56 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/1.001, allocations: 5.922 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/1.001, allocations: 20.59 kB / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/1.001, allocations: 5.75 kB / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/1.001, allocations: 6.156 kB / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.507e-05/1.001, allocations: 103.9 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.001, allocations: 1.344 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004262/1.001, allocations: 17.3 kB / 1.346 GB, free: 11.86 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.0009742/1.002, allocations: 0.78 MB / 1.347 GB, free: 11.17 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005432/1.003, allocations: 104.8 kB / 1.347 GB, free: 11.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.003, allocations: 4 kB / 1.347 GB, free: 11.15 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/1.003, allocations: 55.36 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/1.004, allocations: 10.89 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/1.006, allocations: 1.595 MB / 1.349 GB, free: 9.844 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/1.006, allocations: 0.701 MB / 1.349 GB, free: 9.145 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.781e-05/1.006, allocations: 4.016 kB / 1.349 GB, free: 9.145 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.97e-05/1.006, allocations: 28.67 kB / 1.349 GB, free: 9.121 MB / 1.061 GB Notification: Performance of SimCode: time 8.31e-07/1.006, allocations: 1.375 kB / 1.349 GB, free: 9.121 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/1.031, allocations: 2.323 MB / 1.352 GB, free: 8.691 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.863/9.894, allocations: 15.62 kB / 1.352 GB, free: 8.68 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.730610134953167]