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.001412/0.001412, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.001457/0.001457, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.242/3.242, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 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="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.002023/0.002023, allocations: 67.72 kB / 1.171 GB, free: 19.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4367, allocations: 179 MB / 1.345 GB, free: 452 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003236/0.44, allocations: 1.784 MB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001752/0.4401, allocations: 87.66 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.4402, allocations: 0 / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.955e-05/0.4402, allocations: 7.875 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.94e-05/0.4403, allocations: 19.8 kB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.4404, allocations: 35.97 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.4406, allocations: 107.7 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.4407, allocations: 44.97 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.543e-05/0.4408, allocations: 43.84 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/0.4409, allocations: 51.77 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.4409, allocations: 12 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.335e-05/0.4409, allocations: 12 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.4409, allocations: 19.92 kB / 1.348 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.441, allocations: 47.73 kB / 1.348 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.4412, allocations: 119.5 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4412, allocations: 0 / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4412, allocations: 4 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4412, allocations: 3.938 kB / 1.348 GB, free: 14.04 MB / 1.045 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.0006559/0.4418, allocations: 353.8 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4419, allocations: 12.03 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.733e-05/0.4419, allocations: 192 / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.4419, allocations: 46.75 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.442, allocations: 12.88 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.4422, allocations: 142.3 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4422, allocations: 12.31 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.4422, allocations: 8.375 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.4426, allocations: 121.9 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4426, allocations: 0 / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.4426, allocations: 15.98 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4426, allocations: 0 / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.4431, allocations: 116.9 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.4436, allocations: 355.5 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.444, allocations: 90.45 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.4442, allocations: 56.92 kB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.4442, allocations: 4 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.4443, allocations: 34.56 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.4443, allocations: 0 / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0007566/0.445, allocations: 197.5 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.4451, allocations: 51.41 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.4452, allocations: 132.3 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.4452, allocations: 25.7 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.4453, allocations: 108.1 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.4453, allocations: 19.86 kB / 1.35 GB, free: 11.99 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.4453, allocations: 25.64 kB / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4455, allocations: 318.8 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.4457, allocations: 47.94 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.4459, allocations: 51.94 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.4463, allocations: 108.8 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4463, allocations: 0 / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004615/0.4468, allocations: 141.5 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4468, allocations: 4 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4468, allocations: 3.938 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4468, allocations: 4 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.447, allocations: 27.91 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.447, allocations: 0 / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.4471, allocations: 27.91 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.4471, allocations: 0 / 1.35 GB, free: 11.22 MB / 1.045 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.0001102/0.4472, allocations: 117.8 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.4472, allocations: 7.953 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.4473, allocations: 20.23 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4473, allocations: 4 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.4473, allocations: 0 / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4473, allocations: 3.984 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.4475, allocations: 172.7 kB / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4475, allocations: 0 / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.4477, allocations: 31.97 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4477, allocations: 4.422 kB / 1.351 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.4477, allocations: 3.938 kB / 1.351 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.4477, allocations: 0 / 1.351 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4477, allocations: 4 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000521/0.4482, allocations: 243.3 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.4482, allocations: 7.938 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.4482, allocations: 3.938 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4484, allocations: 19.98 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.4484, allocations: 7.984 kB / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.4484, allocations: 0 / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.694e-05/0.4485, allocations: 103.3 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4485, allocations: 0 / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002367/0.4487, allocations: 27.88 kB / 1.351 GB, free: 10.38 MB / 1.045 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.0008583/0.4496, allocations: 0.7747 MB / 1.352 GB, free: 9.582 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004711/0.4501, allocations: 103.9 kB / 1.352 GB, free: 9.48 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4501, allocations: 4 kB / 1.352 GB, free: 9.477 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.4503, allocations: 63.88 kB / 1.352 GB, free: 9.414 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.4506, allocations: 9.719 kB / 1.352 GB, free: 9.406 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.4531, allocations: 1.588 MB / 1.353 GB, free: 7.738 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.4535, allocations: 0.6963 MB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.649e-05/0.4535, allocations: 7.984 kB / 1.354 GB, free: 7.008 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.4536, allocations: 27.44 kB / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.4536, allocations: 0 / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.4777, allocations: 2.409 MB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.39, allocations: 11.17 kB / 1.357 GB, free: 4.715 MB / 1.045 GB " [Timeout remaining time 287] (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: 19.247984003974125]