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.001846/0.001846, allocations: 108 kB / 15.61 MB, free: 128 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.00212/0.00212, allocations: 198.1 kB / 16.53 MB, free: 6.672 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.341/2.341, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 63.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6617/0.6633, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002311/0.6656, allocations: 1.588 MB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.903e-05/0.6657, allocations: 60.16 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.6658, allocations: 0 / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.6658, allocations: 3.938 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.757e-05/0.6659, allocations: 14.89 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.295e-05/0.6659, allocations: 17.41 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.075e-05/0.666, allocations: 73.22 kB / 0.9514 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.6662, allocations: 22.72 kB / 0.9515 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.428e-05/0.6662, allocations: 25.8 kB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.6663, allocations: 37.08 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.6663, allocations: 6.906 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.6663, allocations: 5.031 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.6664, allocations: 13.52 kB / 0.9516 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.6664, allocations: 28.19 kB / 0.9516 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.509e-05/0.6665, allocations: 66.64 kB / 0.9516 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6665, allocations: 9.469 kB / 0.9517 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6665, allocations: 0 / 0.9517 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.6665, allocations: 0 / 0.9517 GB, free: 7.664 MB / 0.7169 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.0005289/0.667, allocations: 396.7 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.6671, allocations: 9.938 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.815e-05/0.6671, allocations: 35.66 kB / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.6672, allocations: 8.031 kB / 0.9521 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.893e-05/0.6672, allocations: 172.4 kB / 0.9522 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.6672, allocations: 2.438 kB / 0.9522 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.6673, allocations: 6.219 kB / 0.9523 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.6676, allocations: 96.03 kB / 0.9523 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.6676, allocations: 0 / 0.9523 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.6676, allocations: 4 kB / 0.9524 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.6676, allocations: 2.156 kB / 0.9524 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.668, allocations: 103.6 kB / 0.9525 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.6684, allocations: 310.3 kB / 0.9527 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.6687, allocations: 96.62 kB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.6689, allocations: 60.23 kB / 0.9529 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.6689, allocations: 1 kB / 0.9529 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.669, allocations: 39.69 kB / 0.9529 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.669, allocations: 0 / 0.9529 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0007157/0.6697, allocations: 192.7 kB / 0.9531 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.6697, allocations: 52.47 kB / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.72e-05/0.6698, allocations: 117 kB / 0.9533 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.6698, allocations: 25.7 kB / 0.9533 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.705e-05/0.6698, allocations: 94.5 kB / 0.9534 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.6699, allocations: 18.41 kB / 0.9534 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.6699, allocations: 17.78 kB / 0.9534 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.908e-05/0.6699, allocations: 324 kB / 0.9537 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.6702, allocations: 60.44 kB / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.6704, allocations: 43.61 kB / 0.9538 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.6708, allocations: 107.1 kB / 0.9539 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6708, allocations: 1.312 kB / 0.9539 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004673/0.6713, allocations: 144.6 kB / 0.9541 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6713, allocations: 9.562 kB / 0.9541 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.6713, allocations: 0 / 0.9541 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.6713, allocations: 5.484 kB / 0.9541 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.6715, allocations: 28.88 kB / 0.9541 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.6715, allocations: 0 / 0.9541 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.6716, allocations: 22.5 kB / 0.9541 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.6716, allocations: 5.125 kB / 0.9541 GB, free: 5.441 MB / 0.7169 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.323e-05/0.6717, allocations: 116.3 kB / 0.9543 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.6717, allocations: 3.719 kB / 0.9543 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.6717, allocations: 9.344 kB / 0.9543 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.6717, allocations: 1.156 kB / 0.9543 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6717, allocations: 0 / 0.9543 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6718, allocations: 1.188 kB / 0.9543 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.6719, allocations: 190.7 kB / 0.9545 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6719, allocations: 0 / 0.9545 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.6721, allocations: 28.53 kB / 0.9545 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.6721, allocations: 5.219 kB / 0.9545 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.6721, allocations: 0 / 0.9545 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6721, allocations: 1.344 kB / 0.9545 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6721, allocations: 0 / 0.9545 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/0.6726, allocations: 240.4 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.6726, allocations: 86.98 kB / 0.9548 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.6726, allocations: 1.219 kB / 0.9548 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.6728, allocations: 18.19 kB / 0.9548 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.6728, allocations: 10.36 kB / 0.9548 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.6729, allocations: 1.094 kB / 0.9548 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.6729, allocations: 100.6 kB / 0.9549 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.02e-07/0.6729, allocations: 1.344 kB / 0.9549 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002378/0.6731, allocations: 27.06 kB / 0.955 GB, free: 4.664 MB / 0.7169 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.0006867/0.6738, allocations: 0.7718 MB / 0.9557 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.6743, allocations: 120.4 kB / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6744, allocations: 0 / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.6746, allocations: 63.56 kB / 0.9559 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.6749, allocations: 16.34 kB / 0.9559 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.6754, allocations: 197.7 kB / 0.9561 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.029e-05/0.6755, allocations: 0.6944 MB / 0.9568 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.6755, allocations: 0 / 0.9568 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.6756, allocations: 21.61 kB / 0.9568 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6756, allocations: 0 / 0.9568 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.6919, allocations: 2.129 MB / 0.9589 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.093/7.785, allocations: 7.594 kB / 0.9589 GB, free: 1.836 MB / 0.7169 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