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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.004818/0.004817, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.001301/0.001301, allocations: 199.6 kB / 16.67 MB, free: 5.531 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.89 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6809/0.6828, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002853/0.6857, allocations: 1.774 MB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000164/0.6859, allocations: 75.75 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.686, allocations: 0 / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.247e-05/0.686, allocations: 11.86 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.6861, allocations: 23.8 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 9.972e-05/0.6862, allocations: 31.95 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.6863, allocations: 111.6 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.6865, allocations: 49.09 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.514e-05/0.6866, allocations: 39.86 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.6866, allocations: 55.73 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.6867, allocations: 12 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.716e-05/0.6867, allocations: 8 kB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.6867, allocations: 23.92 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.6868, allocations: 51.73 kB / 1.168 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.687, allocations: 110.2 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.687, allocations: 0 / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.092e-06/0.687, allocations: 4 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.687, allocations: 4 kB / 1.168 GB, free: 1.387 MB / 0.8887 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.0006923/0.6877, allocations: 431.9 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6877, allocations: 12.86 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.6878, allocations: 42.69 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.6878, allocations: 12.88 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.688, allocations: 204.2 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.6881, allocations: 4.375 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.6881, allocations: 8.375 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.6885, allocations: 124.3 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.6885, allocations: 3.938 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.6885, allocations: 4 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.6885, allocations: 4 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.689, allocations: 123.9 kB / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.6895, allocations: 380.5 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.6899, allocations: 98.5 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.6901, allocations: 56.92 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.6901, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.6902, allocations: 46.5 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.6902, allocations: 0 / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0007469/0.6909, allocations: 185.6 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.691, allocations: 59.41 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.6911, allocations: 123.8 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.6911, allocations: 29.7 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.6912, allocations: 108 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.6912, allocations: 23.73 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.6913, allocations: 21.7 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6914, allocations: 314.8 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.6917, allocations: 55.94 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.6919, allocations: 55.88 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.6923, allocations: 109.1 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.6923, allocations: 0 / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004721/0.6928, allocations: 141.5 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.6928, allocations: 6.656 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.6928, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.6928, allocations: 7.938 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.693, allocations: 27.97 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.693, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.6931, allocations: 19.97 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.6931, allocations: 7.938 kB / 1.171 GB, free: 14.36 MB / 0.9044 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.599e-05/0.6932, allocations: 117.8 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.6933, allocations: 11.95 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.6933, allocations: 16.3 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.6933, allocations: 4 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6933, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.6933, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.6936, allocations: 197.6 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6936, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.6937, allocations: 27.97 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.6937, allocations: 7.984 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.6937, allocations: 7.938 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6938, allocations: 0 / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.6938, allocations: 0 / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/0.6943, allocations: 231.4 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.6943, allocations: 93.05 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.6944, allocations: 3.938 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.6945, allocations: 15.98 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.6946, allocations: 7.984 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.6946, allocations: 4.125 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.57e-05/0.6946, allocations: 99.2 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6947, allocations: 0 / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002385/0.6949, allocations: 19.95 kB / 1.172 GB, free: 13.42 MB / 0.9044 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.000858/0.6958, allocations: 0.7788 MB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004834/0.6963, allocations: 119.8 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6963, allocations: 0 / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.6965, allocations: 63.88 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.6968, allocations: 8 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.6993, allocations: 1.599 MB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.6997, allocations: 0.6963 MB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.863e-05/0.6997, allocations: 8 kB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.6998, allocations: 31.42 kB / 1.175 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/0.6998, allocations: 3.938 kB / 1.175 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.7224, allocations: 2.255 MB / 1.177 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.456, allocations: 5.625 kB / 1.177 GB, free: 7.852 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.DXSystems.Cooling.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_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.csv","/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