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.0008436/0.0008436, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008266/0.0008266, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8676/0.8676, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.783/1.783, allocations: 389 MB / 0.633 GB, free: 12.65 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.348e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.001857/0.00187, allocations: 1.726 MB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001429/0.002013, allocations: 91.59 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.002057, allocations: 4 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.00209, allocations: 7.875 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.715e-05/0.002147, allocations: 19.78 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 8.575e-05/0.002233, allocations: 31.97 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.002339, allocations: 111.6 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.002466, allocations: 45.27 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.158e-05/0.002538, allocations: 55.89 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.002585, allocations: 39.88 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.00261, allocations: 12 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.197e-06/0.00262, allocations: 8 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.00264, allocations: 23.92 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.002673, allocations: 35.91 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.00279, allocations: 119.6 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.002791, allocations: 3.938 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002792, allocations: 0 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.002796, allocations: 0 / 1.002 GB, free: 11.12 MB / 0.9636 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.0004224/0.003218, allocations: 353.9 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.003254, allocations: 12.75 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.003289, allocations: 42.73 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.003314, allocations: 16.84 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.003456, allocations: 131.9 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.003466, allocations: 8.375 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.003479, allocations: 12.38 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.003692, allocations: 130.1 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.0037, allocations: 4.172 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.00371, allocations: 4.375 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.003716, allocations: 8.125 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.003945, allocations: 119.9 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.004288, allocations: 327.6 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.004494, allocations: 82.52 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.004606, allocations: 64.86 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.004618, allocations: 4 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.004632, allocations: 30.56 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.004633, allocations: 0 / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0003945/0.005027, allocations: 193.7 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.005061, allocations: 51.41 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/0.005128, allocations: 133.8 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.005139, allocations: 25.7 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.005185, allocations: 108 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.005205, allocations: 19.8 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.005235, allocations: 21.66 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.005312, allocations: 322.8 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.005419, allocations: 59.88 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.795e-05/0.005517, allocations: 47.95 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.005716, allocations: 113.1 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005718, allocations: 0 / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002283/0.005946, allocations: 145.5 kB / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.005957, allocations: 4 kB / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.005961, allocations: 0 / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.005972, allocations: 4 kB / 1.004 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.006055, allocations: 27.97 kB / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.006059, allocations: 7.875 kB / 1.004 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.074e-05/0.00611, allocations: 15.97 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.006116, allocations: 4 kB / 1.005 GB, free: 8.32 MB / 0.9636 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 5.678e-05/0.006173, allocations: 117.8 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.006188, allocations: 7.953 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.586e-05/0.006204, allocations: 12.44 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.006206, allocations: 0 / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.00621, allocations: 4 kB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.006214, allocations: 3.938 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.006336, allocations: 160.7 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006337, allocations: 0 / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.006398, allocations: 23.97 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.0064, allocations: 4 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.006406, allocations: 0 / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.006407, allocations: 0 / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006408, allocations: 4 kB / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.006668, allocations: 247.3 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.006676, allocations: 7.891 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.006686, allocations: 0 / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.628e-05/0.006753, allocations: 23.97 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.006795, allocations: 15.92 kB / 1.005 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.006798, allocations: 0 / 1.005 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.006834, allocations: 97.23 kB / 1.005 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006834, allocations: 0 / 1.005 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001552/0.006989, allocations: 20 kB / 1.005 GB, free: 7.523 MB / 0.9636 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.0004177/0.007407, allocations: 0.771 MB / 1.006 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000252/0.007659, allocations: 111.9 kB / 1.006 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.00766, allocations: 0 / 1.006 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.00781, allocations: 59.94 kB / 1.006 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.008064, allocations: 25.47 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.009402, allocations: 1.588 MB / 1.008 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.116e-05/0.009453, allocations: 88.31 kB / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.15e-05/0.009485, allocations: 4 kB / 1.008 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.009536, allocations: 32.48 kB / 1.008 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of SimCode: time 4e-07/0.009537, allocations: 0 / 1.008 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.02446, allocations: 2.991 MB / 1.011 GB, free: 1.867 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.647/6.672, allocations: 7.203 kB / 1.011 GB, free: 1.867 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.710034989751875]