Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_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.006754/0.006754, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001598/0.001597, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.139/2.139, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 64.5 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2114, allocations: 140.4 MB / 1.088 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002231/0.2136, allocations: 1.588 MB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000109/0.2138, allocations: 47.83 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.2138, allocations: 0 / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.2139, allocations: 11.92 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.137e-05/0.2139, allocations: 15.81 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.309e-05/0.214, allocations: 15.97 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.639e-05/0.2141, allocations: 71.77 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2142, allocations: 20.16 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.2143, allocations: 31.86 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.073e-05/0.2143, allocations: 39.89 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.2143, allocations: 4 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.2144, allocations: 8 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.2144, allocations: 11.92 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.2144, allocations: 27.88 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.2145, allocations: 70.58 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2145, allocations: 3.938 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2145, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2146, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005241/0.2151, allocations: 396 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2151, allocations: 12.03 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.2152, allocations: 34.75 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.2152, allocations: 8.844 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2153, allocations: 180.2 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.2153, allocations: 384 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.2153, allocations: 11.94 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.2156, allocations: 97.62 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.2157, allocations: 4 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.2157, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2157, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.2161, allocations: 103.8 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.2164, allocations: 300.7 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.2168, allocations: 90.5 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.217, allocations: 72.91 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.217, allocations: 0 / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.217, allocations: 34.59 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.217, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0006895/0.2177, allocations: 189.5 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.2178, allocations: 51.41 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/0.2179, allocations: 117.8 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.2179, allocations: 25.7 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.2179, allocations: 99.97 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.218, allocations: 19.8 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.218, allocations: 17.72 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.2181, allocations: 322.8 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.2183, allocations: 51.94 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.2185, allocations: 55.89 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.2189, allocations: 100.7 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2189, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004229/0.2193, allocations: 145.5 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2193, allocations: 8 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2193, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.2194, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2195, allocations: 23.97 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2195, allocations: 3.984 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.2196, allocations: 36.22 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2196, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 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 6.545e-05/0.2197, allocations: 119.8 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.2197, allocations: 7.906 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.2198, allocations: 8.375 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2198, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2198, allocations: 8 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2198, allocations: 3.938 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.22, allocations: 181.6 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.22, allocations: 4 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.2201, allocations: 23.97 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2201, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2201, allocations: 8 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2201, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2201, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004669/0.2206, allocations: 243.2 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.2206, allocations: 85.02 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.2207, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.2208, allocations: 19.97 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.2209, allocations: 7.984 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.2209, allocations: 11.94 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.4e-05/0.2209, allocations: 99.64 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2209, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002137/0.2211, allocations: 12 kB / 1.093 GB, free: 12.22 MB / 0.8575 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.00071/0.2218, allocations: 0.767 MB / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000445/0.2223, allocations: 115.8 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2223, allocations: 0 / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.2225, allocations: 55.94 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.2228, allocations: 20.3 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.2233, allocations: 203.4 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.2235, allocations: 0.6885 MB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.2236, allocations: 4 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.2236, allocations: 27.42 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.2236, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8055/1.029, allocations: 2.163 MB / 1.097 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.596/9.625, allocations: 10.28 kB / 1.097 GB, free: 8.234 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches