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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 113.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.241/3.241, allocations: 497.2 MB / 0.7811 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 68.36 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3058, allocations: 173.9 MB / 1.304 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003061/0.3088, allocations: 1.757 MB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001692/0.309, allocations: 79.73 kB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.3091, allocations: 4 kB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.3091, allocations: 11.86 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.3092, allocations: 19.8 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.929e-05/0.3093, allocations: 31.95 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.3094, allocations: 107.7 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3096, allocations: 41.03 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.3096, allocations: 39.86 kB / 1.306 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.3097, allocations: 47.77 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.3097, allocations: 15.94 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.3097, allocations: 12 kB / 1.306 GB, free: 15.31 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.3098, allocations: 31.89 kB / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.3098, allocations: 51.73 kB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.31, allocations: 103.6 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.31, allocations: 0 / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.266e-06/0.31, allocations: 4 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.31, allocations: 0 / 1.306 GB, free: 15.12 MB / 1.014 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.000703/0.3107, allocations: 431 kB / 1.307 GB, free: 14.65 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.3107, allocations: 8.922 kB / 1.307 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.3108, allocations: 38.75 kB / 1.307 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.3108, allocations: 12.84 kB / 1.307 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.3111, allocations: 208.1 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3111, allocations: 4.375 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3111, allocations: 8.375 kB / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.3115, allocations: 130.1 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3115, allocations: 3.938 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3115, allocations: 4 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3115, allocations: 7.938 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.3119, allocations: 133 kB / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.3125, allocations: 368.6 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.3128, allocations: 86.52 kB / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.313, allocations: 60.92 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.313, allocations: 0 / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.3131, allocations: 38.5 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.3131, allocations: 0 / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.000727/0.3138, allocations: 201.5 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3138, allocations: 51.41 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3139, allocations: 132 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.314, allocations: 25.7 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.314, allocations: 112 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.3141, allocations: 23.84 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.3141, allocations: 17.72 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3143, allocations: 318.8 kB / 1.309 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.3145, allocations: 47.94 kB / 1.309 GB, free: 12.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.3147, allocations: 52.33 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.3151, allocations: 112.7 kB / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3151, allocations: 0 / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004618/0.3155, allocations: 145.5 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3155, allocations: 4 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3155, allocations: 0 / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3156, allocations: 7.938 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.3157, allocations: 27.97 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3157, allocations: 0 / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.3158, allocations: 23.97 kB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.3159, allocations: 0 / 1.309 GB, free: 12.1 MB / 1.014 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.586e-05/0.3159, allocations: 117.8 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.316, allocations: 7.953 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.316, allocations: 16.31 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.316, allocations: 7.938 kB / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.316, allocations: 3.984 kB / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.316, allocations: 0 / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.3162, allocations: 201.6 kB / 1.309 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3162, allocations: 0 / 1.309 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.3164, allocations: 31.91 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3164, allocations: 0 / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.3164, allocations: 3.938 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3164, allocations: 0 / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3164, allocations: 3.984 kB / 1.309 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.3169, allocations: 235.4 kB / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.317, allocations: 85.06 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.317, allocations: 12.05 kB / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3171, allocations: 19.98 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.3172, allocations: 15.92 kB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.3172, allocations: 0 / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.082e-05/0.3173, allocations: 99.27 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3173, allocations: 3.938 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002334/0.3175, allocations: 12 kB / 1.31 GB, free: 11.14 MB / 1.014 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.0008475/0.3184, allocations: 0.7774 MB / 1.311 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.3188, allocations: 119.8 kB / 1.311 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3188, allocations: 0 / 1.311 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.319, allocations: 59.94 kB / 1.311 GB, free: 10.17 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.3194, allocations: 11.98 kB / 1.311 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.3217, allocations: 1.596 MB / 1.312 GB, free: 8.48 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.322, allocations: 0.6963 MB / 1.313 GB, free: 7.758 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.545e-05/0.3221, allocations: 4 kB / 1.313 GB, free: 7.754 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.3221, allocations: 31.42 kB / 1.313 GB, free: 7.723 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.3221, allocations: 4 kB / 1.313 GB, free: 7.719 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.3464, allocations: 2.272 MB / 1.315 GB, free: 5.594 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.458/8.804, allocations: 5.312 kB / 1.315 GB, free: 5.594 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.376038673799485]