Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_10_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.0008066/0.0008064, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004934/0.004934, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.282/1.282, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.358/2.358, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003083, allocations: 8 kB / 0.873 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5639/0.5642, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.001674/0.566, allocations: 1.47 MB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001306/0.5661, allocations: 75.67 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.5661, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.5662, allocations: 11.92 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.5663, allocations: 15.84 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.504e-05/0.5663, allocations: 23.98 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.5665, allocations: 103.7 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.5666, allocations: 45.09 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.465e-05/0.5666, allocations: 31.86 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.628e-05/0.5667, allocations: 35.78 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.5667, allocations: 4 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.5667, allocations: 4 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.5668, allocations: 15.92 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.5668, allocations: 65.42 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.5669, allocations: 101.9 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.5669, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.567, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.567, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 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.0005549/0.5675, allocations: 431.1 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.5676, allocations: 12.03 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.5676, allocations: 42.75 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.5676, allocations: 8.844 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.5678, allocations: 208 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.5679, allocations: 4.375 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.5679, allocations: 8.375 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.5682, allocations: 142.2 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5683, allocations: 3.938 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.5683, allocations: 7.984 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5683, allocations: 4 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.5688, allocations: 155.8 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.5692, allocations: 392.4 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.5695, allocations: 106.5 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.5698, allocations: 72.92 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.5698, allocations: 11.88 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.5698, allocations: 30.56 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 2.345e-06/0.5698, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0007537/0.5706, allocations: 245.4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.5706, allocations: 55.41 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/0.5707, allocations: 127.9 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.5707, allocations: 25.7 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.5708, allocations: 115.9 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.5708, allocations: 15.72 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.5708, allocations: 13.72 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.5709, allocations: 318.8 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.5712, allocations: 71.94 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.5714, allocations: 59.95 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.5718, allocations: 140.7 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5718, allocations: 4 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004739/0.5723, allocations: 177.9 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.5723, allocations: 4 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.5723, allocations: 0 / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.5723, allocations: 3.938 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.5725, allocations: 44.03 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.5725, allocations: 4 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.5726, allocations: 27.91 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.5727, allocations: 4 kB / 1.028 GB, free: 10.55 MB / 0.7794 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 7.25e-05/0.5727, allocations: 118.3 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.5728, allocations: 7.906 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.5728, allocations: 20.31 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5728, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5728, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.5728, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.573, allocations: 205.6 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.573, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.5732, allocations: 31.97 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5732, allocations: 4 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.5732, allocations: 3.938 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5732, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5732, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.5737, allocations: 279.3 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.5737, allocations: 85.02 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.5738, allocations: 11.86 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.5739, allocations: 27.97 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.574, allocations: 7.984 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.574, allocations: 0 / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.064e-05/0.574, allocations: 107.2 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.574, allocations: 0 / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002107/0.5743, allocations: 19.94 kB / 1.029 GB, free: 9.539 MB / 0.7794 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.0007382/0.575, allocations: 0.8022 MB / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004679/0.5755, allocations: 155.9 kB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5755, allocations: 0 / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.5757, allocations: 71.95 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.576, allocations: 15.39 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.5782, allocations: 1.707 MB / 1.032 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.5784, allocations: 0.7004 MB / 1.032 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.953e-05/0.5785, allocations: 0 / 1.032 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.5785, allocations: 31.42 kB / 1.032 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5786, allocations: 0 / 1.032 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3468/0.9253, allocations: 1.842 MB / 1.034 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.9256, allocations: 216.5 kB / 1.034 GB, free: 4 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.847, allocations: 7.938 kB / 1.034 GB, free: 3.992 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches