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.00145/0.001451, allocations: 112.5 kB / 15.73 MB, free: 68 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.001734/0.001734, allocations: 192.7 kB / 16.66 MB, free: 6.586 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.232/2.232, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.94 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2382, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.00262/0.2409, allocations: 1.587 MB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001361/0.241, allocations: 63.75 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.2411, allocations: 0 / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.2411, allocations: 3.938 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.2412, allocations: 19.78 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.69e-05/0.2413, allocations: 19.97 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2414, allocations: 63.84 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2415, allocations: 24.16 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.667e-05/0.2416, allocations: 23.92 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.2417, allocations: 39.78 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.2417, allocations: 8 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.2417, allocations: 8 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.2417, allocations: 11.92 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.2418, allocations: 31.86 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.2419, allocations: 60.06 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2419, allocations: 0 / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2419, allocations: 0 / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.2419, allocations: 0 / 1.089 GB, free: 15.99 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.0005746/0.2425, allocations: 403 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.2426, allocations: 8.031 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.2426, allocations: 46.73 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.2426, allocations: 8.891 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.2428, allocations: 172.2 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2428, allocations: 8.312 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.2428, allocations: 11.94 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.2431, allocations: 93.62 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2431, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.2432, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2432, allocations: 4 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.2436, allocations: 107.9 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.244, allocations: 304.7 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.2443, allocations: 86.52 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.2446, allocations: 68.92 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.2446, allocations: 4 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.2446, allocations: 30.56 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2446, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0007255/0.2453, allocations: 197.5 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.2454, allocations: 51.41 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.954e-05/0.2455, allocations: 117.8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.2455, allocations: 29.7 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.2455, allocations: 92.08 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.2456, allocations: 23.84 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.2456, allocations: 17.72 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.2457, allocations: 314.8 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.2459, allocations: 51.94 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.2461, allocations: 55.94 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.2465, allocations: 104.7 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2465, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004498/0.247, allocations: 146 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.247, allocations: 4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.247, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2471, allocations: 4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2472, allocations: 27.91 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.2472, allocations: 8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.2474, allocations: 27.84 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.2474, allocations: 0 / 1.092 GB, free: 13.19 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 7.372e-05/0.2474, allocations: 121.7 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.2475, allocations: 7.938 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.2475, allocations: 12.38 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2475, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2475, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2475, allocations: 7.938 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.2477, allocations: 181.6 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2477, allocations: 4 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.2479, allocations: 23.97 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2479, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.2479, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2479, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2479, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.2484, allocations: 247.3 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.2484, allocations: 81.06 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.2485, allocations: 0 / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.2486, allocations: 31.91 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.2487, allocations: 4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.2487, allocations: 7.938 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.812e-05/0.2487, allocations: 91.7 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2487, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002218/0.249, allocations: 12 kB / 1.093 GB, free: 12.28 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.0007615/0.2497, allocations: 0.7725 MB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004639/0.2502, allocations: 115.9 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2502, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.2504, allocations: 60.06 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2508, allocations: 16.06 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.2513, allocations: 195.4 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.2515, allocations: 0.6923 MB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.122e-05/0.2516, allocations: 7.938 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.2516, allocations: 19.44 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2516, allocations: 0 / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.2688, allocations: 2.165 MB / 1.097 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.182/7.451, allocations: 12.16 kB / 1.097 GB, free: 8.285 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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