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.0008187/0.0008187, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009334/0.0009334, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8845/0.8845, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.73/1.73, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.981 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.554e-05, allocations: 5.234 kB / 0.981 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002035/0.00205, allocations: 1.647 MB / 0.9826 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.003584, allocations: 1.679 MB / 0.9842 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.003652, allocations: 4 kB / 0.9842 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.004079, allocations: 59.62 kB / 0.9843 GB, free: 14 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.004271, allocations: 103.5 kB / 0.9844 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.004377, allocations: 71.67 kB / 0.9845 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.004564, allocations: 175.6 kB / 0.9846 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.004603, allocations: 7.984 kB / 0.9846 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.516e-05/0.004698, allocations: 83.81 kB / 0.9847 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.004796, allocations: 67.84 kB / 0.9848 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.004817, allocations: 12 kB / 0.9848 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.004947, allocations: 115.7 kB / 0.9849 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.00501, allocations: 51.83 kB / 0.985 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.005054, allocations: 35.92 kB / 0.985 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.005317, allocations: 263.2 kB / 0.9852 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005319, allocations: 4 kB / 0.9853 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.32e-07/0.00532, allocations: 0 / 0.9853 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.005324, allocations: 0 / 0.9853 GB, free: 13.02 MB / 0.9011 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.0004973/0.005822, allocations: 428.9 kB / 0.9857 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.005859, allocations: 8.031 kB / 0.9857 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.005893, allocations: 38.75 kB / 0.9857 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.005936, allocations: 16.84 kB / 0.9857 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.006188, allocations: 190.3 kB / 0.9859 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.006202, allocations: 12.36 kB / 0.9859 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.006215, allocations: 8.312 kB / 0.9859 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.00642, allocations: 157.3 kB / 0.9861 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.006428, allocations: 0 / 0.9861 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.006439, allocations: 4 kB / 0.9861 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.006444, allocations: 3.938 kB / 0.9861 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.006639, allocations: 187.8 kB / 0.9863 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.00683, allocations: 200.7 kB / 0.9865 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.007123, allocations: 194.5 kB / 0.9866 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/0.007192, allocations: 60.88 kB / 0.9867 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.007207, allocations: 4 kB / 0.9867 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.007372, allocations: 131.2 kB / 0.9868 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.007373, allocations: 0 / 0.9868 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13): time 0.000503/0.007876, allocations: 261.1 kB / 0.9871 GB, free: 11 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.007916, allocations: 81.11 kB / 0.9872 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.008089, allocations: 255 kB / 0.9874 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.008104, allocations: 29.7 kB / 0.9874 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.008153, allocations: 116.1 kB / 0.9875 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.008194, allocations: 43.62 kB / 0.9876 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.008234, allocations: 33.7 kB / 0.9876 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.008319, allocations: 334.8 kB / 0.9879 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.00839, allocations: 63.89 kB / 0.988 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.642e-05/0.008477, allocations: 108.2 kB / 0.9881 GB, free: 9.895 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.008625, allocations: 141.7 kB / 0.9882 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.008627, allocations: 0 / 0.9882 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002227/0.00885, allocations: 225.3 kB / 0.9884 GB, free: 9.523 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.008862, allocations: 4 kB / 0.9884 GB, free: 9.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.008867, allocations: 0 / 0.9884 GB, free: 9.52 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.00888, allocations: 12.05 kB / 0.9885 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.064e-05/0.008961, allocations: 23.98 kB / 0.9885 GB, free: 9.484 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.008967, allocations: 0 / 0.9885 GB, free: 9.484 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.009008, allocations: 11.95 kB / 0.9885 GB, free: 9.473 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.009017, allocations: 4 kB / 0.9885 GB, free: 9.469 MB / 0.9011 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 8.77e-05/0.009105, allocations: 149.7 kB / 0.9886 GB, free: 9.312 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.009128, allocations: 23.83 kB / 0.9887 GB, free: 9.289 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.009437, allocations: 282.8 kB / 0.9889 GB, free: 9.008 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.009441, allocations: 7.984 kB / 0.9889 GB, free: 9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.009446, allocations: 4 kB / 0.9889 GB, free: 8.996 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.00945, allocations: 0 / 0.9889 GB, free: 8.996 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.009598, allocations: 220.6 kB / 0.9892 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.009601, allocations: 4 kB / 0.9892 GB, free: 8.734 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.009662, allocations: 39.92 kB / 0.9892 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.009665, allocations: 3.938 kB / 0.9892 GB, free: 8.691 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.009675, allocations: 4 kB / 0.9892 GB, free: 8.688 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.009677, allocations: 0 / 0.9892 GB, free: 8.688 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.009678, allocations: 0 / 0.9892 GB, free: 8.688 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.009928, allocations: 283.4 kB / 0.9895 GB, free: 8.395 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.009952, allocations: 23.78 kB / 0.9895 GB, free: 8.371 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.009975, allocations: 15.94 kB / 0.9895 GB, free: 8.355 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.034e-05/0.01001, allocations: 8 kB / 0.9895 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.01004, allocations: 19.97 kB / 0.9895 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.01006, allocations: 4 kB / 0.9895 GB, free: 8.324 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000118/0.01018, allocations: 196.4 kB / 0.9897 GB, free: 8.133 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.01018, allocations: 0 / 0.9897 GB, free: 8.133 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001939/0.01037, allocations: 63.86 kB / 0.9898 GB, free: 8.07 MB / 0.9011 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.001187/0.01156, allocations: 1.252 MB / 0.991 GB, free: 7.016 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.01177, allocations: 151.9 kB / 0.9912 GB, free: 6.867 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01177, allocations: 0 / 0.9912 GB, free: 6.867 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.01186, allocations: 83.89 kB / 0.9912 GB, free: 6.785 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.01204, allocations: 40.67 kB / 0.9913 GB, free: 6.75 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.01366, allocations: 2.131 MB / 0.9934 GB, free: 4.535 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.229e-05/0.01373, allocations: 120 kB / 0.9935 GB, free: 4.398 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 7.761e-05/0.01381, allocations: 53.5 kB / 0.9935 GB, free: 4.344 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.944e-05/0.01391, allocations: 68.47 kB / 0.9936 GB, free: 4.273 MB / 0.9011 GB Notification: Performance of SimCode: time 6.71e-07/0.01391, allocations: 0 / 0.9936 GB, free: 4.273 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.03384, allocations: 6.524 MB / 1 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.163/7.197, allocations: 11.42 kB / 1 GB, free: 13.83 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/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: 11.416519567370415]