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.001466/0.001466, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.52/2.52, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 66.45 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2421, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002663/0.2448, allocations: 1.759 MB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001472/0.2449, allocations: 91.66 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.245, allocations: 0 / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.245, allocations: 7.875 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.043e-05/0.2451, allocations: 15.8 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.988e-05/0.2452, allocations: 27.97 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.2453, allocations: 107.7 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.2454, allocations: 57.08 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.645e-05/0.2455, allocations: 35.86 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.2456, allocations: 55.75 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.2456, allocations: 15.94 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.716e-05/0.2456, allocations: 16 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.74e-05/0.2457, allocations: 19.92 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.2457, allocations: 47.73 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.2458, allocations: 111.9 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2459, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2459, allocations: 4 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.2459, allocations: 0 / 1.066 GB, free: 11.84 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.0006036/0.2465, allocations: 427.1 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2465, allocations: 8.031 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.2466, allocations: 38.75 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.2466, allocations: 12.78 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.2468, allocations: 204.1 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.2468, allocations: 8.375 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.2468, allocations: 4.375 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.2472, allocations: 132.5 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2472, allocations: 7.875 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2472, allocations: 4 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2472, allocations: 4 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.2477, allocations: 119.9 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.2481, allocations: 380.5 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.2485, allocations: 94.52 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.2487, allocations: 56.92 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.2487, allocations: 7.984 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.2487, allocations: 38.5 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.2488, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0007004/0.2495, allocations: 197.6 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.2495, allocations: 55.41 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/0.2496, allocations: 128.1 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.2496, allocations: 29.7 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.2497, allocations: 107.9 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.2497, allocations: 19.66 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.2498, allocations: 21.7 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2499, allocations: 314.8 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.2501, allocations: 55.94 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.2503, allocations: 47.94 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.2507, allocations: 112.7 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2507, allocations: 0 / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004413/0.2512, allocations: 137.5 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.2512, allocations: 8 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2512, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2512, allocations: 7.938 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.2514, allocations: 31.91 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2514, allocations: 0 / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.2515, allocations: 19.97 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.2515, allocations: 0 / 1.069 GB, free: 8.824 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.346e-05/0.2516, allocations: 117.8 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.2516, allocations: 11.91 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.2516, allocations: 24.3 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.2517, allocations: 0 / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2517, allocations: 0 / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2517, allocations: 3.938 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.2519, allocations: 197.6 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2519, allocations: 0 / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.252, allocations: 27.97 kB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.252, allocations: 0 / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.252, allocations: 11.92 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2521, allocations: 256 / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2521, allocations: 4 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.2525, allocations: 243.3 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.2526, allocations: 92.94 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.2526, allocations: 3.938 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.2528, allocations: 19.98 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.2528, allocations: 7.984 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.2528, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.815e-05/0.2529, allocations: 99.27 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2529, allocations: 0 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002086/0.2531, allocations: 16 kB / 1.07 GB, free: 7.867 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.0007686/0.2539, allocations: 0.7748 MB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004421/0.2543, allocations: 119.8 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2543, allocations: 0 / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.2546, allocations: 63.94 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.2548, allocations: 9.406 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.2569, allocations: 1.59 MB / 1.072 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.2572, allocations: 0.6963 MB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.727e-05/0.2573, allocations: 7.922 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.2573, allocations: 27.44 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2573, allocations: 4 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.563/2.82, allocations: 2.21 MB / 1.075 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.187/12.01, allocations: 7.125 kB / 1.075 GB, free: 2.34 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