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.005/0.005, allocations: 102.3 kB / 15.73 MB, free: 6.008 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.001193/0.001193, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.112/2.112, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 67.89 kB / 0.9504 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7018/0.7039, allocations: 140.4 MB / 1.088 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002432/0.7063, allocations: 1.601 MB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.7065, allocations: 53.91 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.7065, allocations: 0 / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.7065, allocations: 6.562 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.7066, allocations: 13.86 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.022e-05/0.7067, allocations: 21.95 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.314e-05/0.7068, allocations: 73.28 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.7069, allocations: 18.7 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.707, allocations: 26.33 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.707, allocations: 34.77 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.7071, allocations: 6.031 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.7071, allocations: 6.031 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.7071, allocations: 12.84 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.7071, allocations: 34.38 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.7073, allocations: 69.48 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7073, allocations: 1 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7073, allocations: 0 / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.7073, allocations: 4.703 kB / 1.089 GB, free: 3.934 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.00054/0.7078, allocations: 389.7 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.7079, allocations: 9.5 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.7079, allocations: 32.39 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.7079, allocations: 13.53 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.264e-05/0.708, allocations: 169.8 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.708, allocations: 5.5 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.7081, allocations: 7.125 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.7084, allocations: 99.84 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.7084, allocations: 0 / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.7084, allocations: 4.844 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7084, allocations: 0.7188 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.7089, allocations: 106.6 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.7093, allocations: 309.8 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.7096, allocations: 93.45 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.7099, allocations: 60.16 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.7099, allocations: 0.9375 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.7099, allocations: 32.09 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.7099, allocations: 1.094 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0007684/0.7107, allocations: 192.8 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.7107, allocations: 51.97 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.7108, allocations: 122.2 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.7108, allocations: 26.45 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.7109, allocations: 95.64 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.7109, allocations: 16.91 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.7109, allocations: 22.45 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.711, allocations: 323.2 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.7112, allocations: 49.7 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.7114, allocations: 50.94 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.7118, allocations: 107.6 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7119, allocations: 4.875 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004656/0.7123, allocations: 142.3 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.7123, allocations: 5.844 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.7124, allocations: 0.5625 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.7124, allocations: 0.5938 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.7125, allocations: 29 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.7125, allocations: 0.625 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.7127, allocations: 25.05 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.7127, allocations: 1.594 kB / 1.092 GB, free: 2.004 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 5.223e-05/0.7127, allocations: 111.5 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.7128, allocations: 11.22 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.7128, allocations: 11.39 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.7128, allocations: 5 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.7128, allocations: 0 / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7128, allocations: 5.484 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.713, allocations: 180 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.713, allocations: 0.8125 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.7131, allocations: 28.75 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.7131, allocations: 0.6562 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.7131, allocations: 0.9688 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.7132, allocations: 1.547 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7132, allocations: 7.938 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.7137, allocations: 239.2 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.7137, allocations: 83.17 kB / 1.093 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.7137, allocations: 10.09 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.7139, allocations: 16.92 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.7139, allocations: 9.844 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.7139, allocations: 5.469 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.965e-05/0.714, allocations: 100.6 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.31e-07/0.714, allocations: 0 / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002259/0.7142, allocations: 23.25 kB / 1.093 GB, free: 1.285 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.0007213/0.715, allocations: 0.7654 MB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004931/0.7155, allocations: 120.9 kB / 1.094 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7155, allocations: 0 / 1.094 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.7157, allocations: 57.42 kB / 1.094 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.716, allocations: 14.41 kB / 1.094 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.7165, allocations: 202.3 kB / 1.094 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.7168, allocations: 0.6872 MB / 1.095 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.946e-05/0.7168, allocations: 2.266 kB / 1.095 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.7169, allocations: 24.69 kB / 1.095 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.7169, allocations: 0 / 1.095 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.7345, allocations: 2.169 MB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.206/7.941, allocations: 8.594 kB / 1.097 GB, free: 15.28 MB / 0.8731 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