Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 190.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.481/2.481, allocations: 469.8 MB / 0.7421 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 71.62 kB / 0.9082 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2285, allocations: 159.2 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002613/0.2311, allocations: 1.814 MB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001411/0.2313, allocations: 79.73 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/0.2313, allocations: 0 / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.2314, allocations: 7.922 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.2314, allocations: 15.86 kB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.651e-05/0.2315, allocations: 31.97 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.2317, allocations: 103.7 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.2318, allocations: 45.11 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.2319, allocations: 47.84 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.2319, allocations: 47.77 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.232, allocations: 15.94 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.232, allocations: 12 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.232, allocations: 23.92 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.2321, allocations: 51.72 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.2322, allocations: 111.9 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2322, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2322, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2322, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 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.0005923/0.2328, allocations: 427.1 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2328, allocations: 12.03 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.2329, allocations: 38.73 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.2329, allocations: 12.84 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.2331, allocations: 204.1 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.2331, allocations: 8.312 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.2332, allocations: 12.38 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.2335, allocations: 126.2 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2335, allocations: 3.938 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2335, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2335, allocations: 7.938 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.2339, allocations: 126.1 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.2344, allocations: 376.5 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.2347, allocations: 98.44 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.2349, allocations: 60.88 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.2349, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.235, allocations: 38.56 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.235, allocations: 0 / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0006357/0.2356, allocations: 189.4 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.2357, allocations: 67.39 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.091e-05/0.2357, allocations: 124.3 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.2358, allocations: 25.7 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.2358, allocations: 111.9 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.2359, allocations: 23.64 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.2359, allocations: 17.72 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.236, allocations: 318.8 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.2362, allocations: 51.95 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.2364, allocations: 51.94 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.2368, allocations: 108.8 kB / 1.068 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2368, allocations: 0 / 1.068 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004165/0.2372, allocations: 137.5 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.2372, allocations: 4 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2372, allocations: 7.984 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2372, allocations: 3.938 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.2374, allocations: 31.91 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.2374, allocations: 0 / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.72e-05/0.2375, allocations: 11.98 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.2375, allocations: 8 kB / 1.069 GB, free: 9.035 MB / 0.8262 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.302e-05/0.2376, allocations: 117.8 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.2376, allocations: 12.34 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.2377, allocations: 12.31 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2377, allocations: 0 / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2377, allocations: 4 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.2377, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.2379, allocations: 205.6 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2379, allocations: 0 / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.238, allocations: 31.91 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.238, allocations: 0 / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.238, allocations: 11.94 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.238, allocations: 0 / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.238, allocations: 0 / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.2385, allocations: 243.3 kB / 1.069 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.2386, allocations: 88.95 kB / 1.069 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.2386, allocations: 3.938 kB / 1.069 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.2387, allocations: 15.97 kB / 1.069 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.2388, allocations: 11.98 kB / 1.069 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.2388, allocations: 7.938 kB / 1.069 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.327e-05/0.2388, allocations: 91.27 kB / 1.069 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2388, allocations: 4 kB / 1.069 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002049/0.239, allocations: 16 kB / 1.07 GB, free: 8.082 MB / 0.8262 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.0007241/0.2398, allocations: 0.7805 MB / 1.07 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.2402, allocations: 107.8 kB / 1.07 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.2402, allocations: 4 kB / 1.07 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.2404, allocations: 63.88 kB / 1.07 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.2406, allocations: 13.81 kB / 1.07 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.2426, allocations: 1.631 MB / 1.072 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.2429, allocations: 0.6963 MB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.062e-05/0.243, allocations: 7.984 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.243, allocations: 31.42 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.243, allocations: 4 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6867/0.9298, allocations: 1.964 MB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/0.9301, allocations: 221.1 kB / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.954, allocations: 0.75 kB / 1.075 GB, free: 2.543 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches