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.0008699/0.0008699, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009943/0.0009943, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.91/0.91, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.821/1.821, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.248e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002251/0.002273, allocations: 1.647 MB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.003823, allocations: 1.664 MB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.00389, allocations: 4 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.004317, allocations: 67.44 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.00451, allocations: 95.53 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.004614, allocations: 71.67 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.004792, allocations: 187.5 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.004834, allocations: 4 kB / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.004937, allocations: 87.8 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.005047, allocations: 67.78 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.005073, allocations: 16 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.005221, allocations: 107.8 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.64e-05/0.005298, allocations: 47.84 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.005353, allocations: 43.84 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.00565, allocations: 259.2 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005652, allocations: 3.938 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005653, allocations: 0 / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.005658, allocations: 0 / 1.004 GB, free: 9.117 MB / 0.9636 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.0004943/0.006152, allocations: 421 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.006192, allocations: 12.75 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.006226, allocations: 34.73 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.006269, allocations: 24.8 kB / 1.004 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.006645, allocations: 210.5 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.006659, allocations: 12.36 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.006671, allocations: 4.312 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.006875, allocations: 169.2 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.006882, allocations: 0 / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.006893, allocations: 0 / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.006898, allocations: 0 / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.007095, allocations: 187.8 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.007281, allocations: 208.6 kB / 1.005 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.007584, allocations: 198.4 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.095e-05/0.007655, allocations: 60.77 kB / 1.005 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.007669, allocations: 0 / 1.005 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.007824, allocations: 131.4 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 9.02e-07/0.007825, allocations: 3.938 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0003662/0.008191, allocations: 255.8 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.008234, allocations: 81.11 kB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.008399, allocations: 231 kB / 1.006 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.008416, allocations: 37.7 kB / 1.006 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.008465, allocations: 120 kB / 1.006 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.008506, allocations: 51.62 kB / 1.006 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.008545, allocations: 29.72 kB / 1.006 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.008625, allocations: 330.8 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/0.008698, allocations: 59.97 kB / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/0.008786, allocations: 106.6 kB / 1.007 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.00894, allocations: 141.7 kB / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.008942, allocations: 0 / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002218/0.009164, allocations: 228.3 kB / 1.007 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.009177, allocations: 8 kB / 1.007 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.009182, allocations: 0 / 1.007 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.009192, allocations: 0 / 1.007 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.009273, allocations: 27.92 kB / 1.007 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.009283, allocations: 4 kB / 1.007 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.009326, allocations: 11.89 kB / 1.007 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.009337, allocations: 11.98 kB / 1.007 GB, free: 5.543 MB / 0.9636 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 7.792e-05/0.009415, allocations: 133.8 kB / 1.007 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.009439, allocations: 27.83 kB / 1.007 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.009748, allocations: 286.9 kB / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-06/0.009752, allocations: 4 kB / 1.008 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.009756, allocations: 0 / 1.008 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.00976, allocations: 3.938 kB / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.009914, allocations: 220.6 kB / 1.008 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.009915, allocations: 0 / 1.008 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.009972, allocations: 27.98 kB / 1.008 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.009976, allocations: 7.938 kB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.009986, allocations: 11.98 kB / 1.008 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.009989, allocations: 4 kB / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.00999, allocations: 0 / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.01024, allocations: 283.6 kB / 1.008 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.01027, allocations: 19.84 kB / 1.008 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.01029, allocations: 11.94 kB / 1.008 GB, free: 4.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.179e-05/0.01032, allocations: 11.97 kB / 1.008 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.01036, allocations: 15.97 kB / 1.008 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.01038, allocations: 12 kB / 1.008 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001019/0.01048, allocations: 168.4 kB / 1.008 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01048, allocations: 0 / 1.008 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001858/0.01067, allocations: 63.86 kB / 1.008 GB, free: 4.18 MB / 0.9636 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.001222/0.01189, allocations: 1.251 MB / 1.01 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.0121, allocations: 151.8 kB / 1.01 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.0121, allocations: 0 / 1.01 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.154e-05/0.01219, allocations: 87.89 kB / 1.01 GB, free: 2.887 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.01238, allocations: 35.02 kB / 1.01 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.01427, allocations: 2.136 MB / 1.012 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.759e-05/0.01435, allocations: 128 kB / 1.012 GB, free: 500 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.432e-05/0.01443, allocations: 45.92 kB / 1.012 GB, free: 452 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.01452, allocations: 72.45 kB / 1.012 GB, free: 380 kB / 0.9636 GB Notification: Performance of SimCode: time 2.8e-07/0.01452, allocations: 0 / 1.012 GB, free: 380 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.03352, allocations: 6.562 MB / 1.019 GB, free: 9.887 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.07/7.103, allocations: 7.562 kB / 1.019 GB, free: 9.887 MB / 0.9792 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/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: 11.395567269995809]