Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00182/0.00182, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002434/0.002434, allocations: 208.5 kB / 22.24 MB, free: 5.262 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.477/1.477, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.268/3.268, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_latest_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.002051/0.002051, allocations: 68.7 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3775, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00333/0.3808, allocations: 1.653 MB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.3835, allocations: 1.661 MB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.249e-05/0.3835, allocations: 0 / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.384, allocations: 67.69 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.3843, allocations: 99.53 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.3844, allocations: 71.73 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.3847, allocations: 187.5 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.3847, allocations: 4 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3848, allocations: 67.77 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.385, allocations: 63.8 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.385, allocations: 16 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.3852, allocations: 111.8 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.68e-05/0.3853, allocations: 47.84 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.3854, allocations: 55.7 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.3857, allocations: 251.2 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3857, allocations: 0 / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3858, allocations: 0 / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.3858, allocations: 0 / 1.368 GB, free: 9.715 MB / 1.061 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.000709/0.3865, allocations: 421 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3865, allocations: 8.031 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.3866, allocations: 38.75 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.3866, allocations: 16.84 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.387, allocations: 199 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.387, allocations: 12.36 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.387, allocations: 11.92 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.3873, allocations: 149 kB / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3873, allocations: 0 / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3873, allocations: 0 / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3873, allocations: 4 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.3876, allocations: 187.7 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.3879, allocations: 208.7 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.3884, allocations: 202.4 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.3885, allocations: 56.94 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3885, allocations: 11.94 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.3888, allocations: 119.3 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.3888, allocations: 3.938 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005475/0.3893, allocations: 252.1 kB / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.3894, allocations: 77.11 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.3897, allocations: 263 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.3897, allocations: 29.7 kB / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.101e-05/0.3898, allocations: 120.1 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.3898, allocations: 51.58 kB / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.3899, allocations: 33.7 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.39, allocations: 326.8 kB / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3902, allocations: 59.95 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.3903, allocations: 108.2 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.3905, allocations: 145.6 kB / 1.371 GB, free: 6.434 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3906, allocations: 7.969 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003606/0.3909, allocations: 224.1 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3909, allocations: 11.98 kB / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3909, allocations: 0 / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3909, allocations: 0 / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.3911, allocations: 23.98 kB / 1.371 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3911, allocations: 7.984 kB / 1.371 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.495e-05/0.3912, allocations: 7.953 kB / 1.371 GB, free: 6.152 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.3912, allocations: 8 kB / 1.371 GB, free: 6.145 MB / 1.061 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.0001369/0.3913, allocations: 147.6 kB / 1.371 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.3913, allocations: 15.91 kB / 1.371 GB, free: 5.977 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.3919, allocations: 287.9 kB / 1.371 GB, free: 5.684 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3919, allocations: 4 kB / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3919, allocations: 0 / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3919, allocations: 0 / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.3921, allocations: 224.6 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3921, allocations: 0 / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.3922, allocations: 31.92 kB / 1.372 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.3922, allocations: 4 kB / 1.372 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.3922, allocations: 8 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3922, allocations: 4 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3922, allocations: 3.984 kB / 1.372 GB, free: 5.367 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.3927, allocations: 277.9 kB / 1.372 GB, free: 5.078 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.3927, allocations: 23.83 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.3928, allocations: 8 kB / 1.372 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.23e-05/0.3928, allocations: 8 kB / 1.372 GB, free: 5.039 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.3929, allocations: 19.91 kB / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.3929, allocations: 19.97 kB / 1.372 GB, free: 5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001942/0.3931, allocations: 192.2 kB / 1.372 GB, free: 4.812 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3931, allocations: 4 kB / 1.372 GB, free: 4.809 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002788/0.3934, allocations: 59.86 kB / 1.372 GB, free: 4.75 MB / 1.061 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.002499/0.3959, allocations: 1.259 MB / 1.373 GB, free: 3.688 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.3962, allocations: 145.9 kB / 1.374 GB, free: 3.547 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3962, allocations: 4 kB / 1.374 GB, free: 3.543 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.3964, allocations: 91.77 kB / 1.374 GB, free: 3.453 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.3967, allocations: 37.8 kB / 1.374 GB, free: 3.418 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.3993, allocations: 2.118 MB / 1.376 GB, free: 1.219 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.3994, allocations: 123.8 kB / 1.376 GB, free: 1.078 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.3995, allocations: 45.45 kB / 1.376 GB, free: 1.035 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.3997, allocations: 71.33 kB / 1.376 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3997, allocations: 4 kB / 1.376 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.4355, allocations: 6.35 MB / 1.382 GB, free: 10.68 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.32, allocations: 16.5 kB / 1.382 GB, free: 10.67 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.415601667948067]