Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 212.3 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.176/3.176, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 62.62 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3767, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00323/0.3799, allocations: 1.656 MB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002651/0.3826, allocations: 1.668 MB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.3827, allocations: 3.938 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.3831, allocations: 59.69 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.3834, allocations: 103.5 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.3836, allocations: 67.73 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.3838, allocations: 183.6 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.095e-05/0.3839, allocations: 7.984 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.384, allocations: 71.7 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.3842, allocations: 71.73 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.3842, allocations: 12 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.3844, allocations: 107.9 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.3845, allocations: 51.83 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.3845, allocations: 51.67 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.3849, allocations: 247.4 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3849, allocations: 3.938 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3849, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.3849, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 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.0006737/0.3856, allocations: 421 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3856, allocations: 12.03 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.3857, allocations: 38.73 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.3857, allocations: 16.84 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.3861, allocations: 195.1 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3861, allocations: 8.375 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.3862, allocations: 7.875 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.3864, allocations: 157 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3864, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3865, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.3865, allocations: 4 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.3868, allocations: 191.7 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.3871, allocations: 208.6 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.3876, allocations: 202.3 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.3877, allocations: 60.81 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.3878, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.388, allocations: 127.4 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.388, allocations: 3.938 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005705/0.3886, allocations: 253.5 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.3886, allocations: 81.11 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.389, allocations: 258.9 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.389, allocations: 33.7 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.3891, allocations: 116.1 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.3891, allocations: 47.62 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.3892, allocations: 33.7 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3893, allocations: 322.8 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3895, allocations: 59.95 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.3896, allocations: 112.2 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.3899, allocations: 152.6 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3899, allocations: 3.938 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003873/0.3903, allocations: 213.4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3903, allocations: 8 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3903, allocations: 0 / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3903, allocations: 3.984 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3904, allocations: 27.98 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.3904, allocations: 4 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.3905, allocations: 0 / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3905, allocations: 8 kB / 1.333 GB, free: 10.43 MB / 1.029 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.0001418/0.3907, allocations: 153.4 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.3907, allocations: 23.84 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005407/0.3912, allocations: 281.2 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3913, allocations: 3.984 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3913, allocations: 7.938 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3913, allocations: 3.938 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.3915, allocations: 228.5 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3915, allocations: 0 / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.3916, allocations: 31.92 kB / 1.333 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3917, allocations: 8 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.3917, allocations: 4 kB / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3917, allocations: 4 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3917, allocations: 0 / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.3921, allocations: 274.7 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.3922, allocations: 35.72 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.3922, allocations: 8 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.3923, allocations: 4 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.3923, allocations: 15.97 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.3924, allocations: 8 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002122/0.3926, allocations: 200.4 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3926, allocations: 0 / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003041/0.3929, allocations: 59.86 kB / 1.334 GB, free: 9.023 MB / 1.029 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 (22): * Single equations (assignments): 20 * 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.002641/0.3955, allocations: 1.251 MB / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003743/0.3959, allocations: 157.9 kB / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3959, allocations: 0 / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.3961, allocations: 91.81 kB / 1.335 GB, free: 7.727 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.3964, allocations: 36.58 kB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.3991, allocations: 2.113 MB / 1.337 GB, free: 5.504 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.3993, allocations: 119.8 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.3994, allocations: 53.44 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.3996, allocations: 75.39 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.3996, allocations: 4 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03813/0.4377, allocations: 6.353 MB / 1.344 GB, free: 14.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.87, allocations: 13.77 kB / 1.344 GB, free: 14.94 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.644046816043556]