Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 225.6 MB / 249.3 MB, free: 3.348 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.321/2.321, allocations: 443.5 MB / 0.7304 GB, free: 13.95 MB / 0.5763 GB " [Timeout remaining time 177] 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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 71.89 kB / 1.059 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2591, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002771/0.2618, allocations: 1.679 MB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.2638, allocations: 1.551 MB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.2639, allocations: 7.875 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.2642, allocations: 51.75 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.2644, allocations: 51.77 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.2646, allocations: 107.6 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.2648, allocations: 175.6 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.2648, allocations: 4.234 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.265, allocations: 67.77 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.2651, allocations: 67.73 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2651, allocations: 8 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.2652, allocations: 67.97 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.2653, allocations: 47.89 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.199e-05/0.2654, allocations: 55.61 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.2656, allocations: 199.4 kB / 1.22 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2656, allocations: 4 kB / 1.22 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2656, allocations: 0 / 1.22 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.2656, allocations: 4 kB / 1.22 GB, free: 11.77 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005707/0.2662, allocations: 474.3 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.2662, allocations: 11.97 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.2663, allocations: 38.73 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.2663, allocations: 20.8 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.2667, allocations: 252.1 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2667, allocations: 8.312 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.2667, allocations: 7.938 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.2669, allocations: 119.3 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2669, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2669, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.2669, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.2671, allocations: 143.9 kB / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.2674, allocations: 233.5 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.2677, allocations: 170.4 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.298e-05/0.2678, allocations: 44.83 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.2678, allocations: 8 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.2681, allocations: 115.3 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.2681, allocations: 0 / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0004474/0.2685, allocations: 220.3 kB / 1.221 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.2686, allocations: 85.11 kB / 1.221 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.2688, allocations: 206.5 kB / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.2688, allocations: 41.62 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.2689, allocations: 112.1 kB / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.2689, allocations: 47.67 kB / 1.222 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.269, allocations: 29.72 kB / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2691, allocations: 326.8 kB / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.735e-05/0.2692, allocations: 51.98 kB / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.2693, allocations: 70.55 kB / 1.222 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.2695, allocations: 129.6 kB / 1.222 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2695, allocations: 3.938 kB / 1.222 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003023/0.2698, allocations: 189.6 kB / 1.223 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.2698, allocations: 7.938 kB / 1.223 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2698, allocations: 8.062 kB / 1.223 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2698, allocations: 0 / 1.223 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.2699, allocations: 27.92 kB / 1.223 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.2699, allocations: 4 kB / 1.223 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.27, allocations: 3.938 kB / 1.223 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.27, allocations: 11.98 kB / 1.223 GB, free: 8.355 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001125/0.2701, allocations: 140 kB / 1.223 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.2702, allocations: 19.86 kB / 1.223 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000409/0.2706, allocations: 234.7 kB / 1.223 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2706, allocations: 0 / 1.223 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.2706, allocations: 0 / 1.223 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.2706, allocations: 0 / 1.223 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.2708, allocations: 245.5 kB / 1.223 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2708, allocations: 0 / 1.223 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/0.2708, allocations: 19.98 kB / 1.223 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2708, allocations: 0 / 1.223 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.2709, allocations: 8 kB / 1.223 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2709, allocations: 0 / 1.223 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2709, allocations: 0 / 1.223 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.2712, allocations: 212.9 kB / 1.224 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.2712, allocations: 92.95 kB / 1.224 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.2713, allocations: 8 kB / 1.224 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.429e-05/0.2713, allocations: 0 / 1.224 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.2713, allocations: 15.98 kB / 1.224 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.2714, allocations: 7.984 kB / 1.224 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001326/0.2715, allocations: 148.5 kB / 1.224 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2715, allocations: 4 kB / 1.224 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002319/0.2717, allocations: 43.92 kB / 1.224 GB, free: 7.078 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001938/0.2737, allocations: 1.097 MB / 1.225 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.2739, allocations: 111.9 kB / 1.225 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2739, allocations: 0 / 1.225 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.274, allocations: 55.97 kB / 1.225 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.2743, allocations: 43.89 kB / 1.225 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.2763, allocations: 1.951 MB / 1.227 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2766, allocations: 0.7163 MB / 1.228 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.79e-05/0.2767, allocations: 45.66 kB / 1.228 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.741e-05/0.2768, allocations: 67.34 kB / 1.228 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.2768, allocations: 0 / 1.228 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.3037, allocations: 4.713 MB / 1.232 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.046/7.35, allocations: 4.562 kB / 1.232 GB, free: 14.36 MB / 0.9825 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.636073835004936]