Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001387/0.001387, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001455/0.001455, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.318/1.318, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.506/2.506, allocations: 476.7 MB / 0.7628 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 63.89 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7369/0.7388, allocations: 168.7 MB / 1.271 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002417/0.7412, allocations: 1.664 MB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.7429, allocations: 1.558 MB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.743, allocations: 1 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.7434, allocations: 57.42 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.7435, allocations: 54.56 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.7437, allocations: 113.1 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.7439, allocations: 163.4 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.744, allocations: 6.234 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.677e-05/0.7441, allocations: 66.56 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.7442, allocations: 64.66 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.7442, allocations: 9.781 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.7444, allocations: 68.27 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.7444, allocations: 47.94 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.7445, allocations: 57.62 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.7447, allocations: 198.2 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7447, allocations: 4.844 kB / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7447, allocations: 0 / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.7447, allocations: 3.938 kB / 1.275 GB, free: 5.027 MB / 0.9981 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.0005164/0.7453, allocations: 480.7 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.7453, allocations: 9.312 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.7453, allocations: 34.75 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.7454, allocations: 16.25 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.7457, allocations: 266.6 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.7457, allocations: 7.219 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.7457, allocations: 15.47 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.7459, allocations: 120.9 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7459, allocations: 0 / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.7459, allocations: 1.156 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.7459, allocations: 2.219 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.7462, allocations: 140.4 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.7463, allocations: 235.4 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.7467, allocations: 168.4 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.68e-05/0.7468, allocations: 47.59 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.7468, allocations: 12.48 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.747, allocations: 105.4 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.747, allocations: 4.938 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0004253/0.7474, allocations: 216.6 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.7474, allocations: 83.42 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.7476, allocations: 204.8 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.7476, allocations: 32.11 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.7476, allocations: 110.3 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.7477, allocations: 51.27 kB / 1.278 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.7477, allocations: 29.56 kB / 1.278 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.7478, allocations: 330.7 kB / 1.278 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.231e-05/0.7479, allocations: 54.25 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.9e-05/0.748, allocations: 82.61 kB / 1.278 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.7481, allocations: 122.1 kB / 1.278 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7481, allocations: 7.875 kB / 1.278 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000283/0.7484, allocations: 190.2 kB / 1.278 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.7484, allocations: 7.031 kB / 1.278 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.7485, allocations: 0 / 1.278 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.7485, allocations: 1.844 kB / 1.278 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.7486, allocations: 32.36 kB / 1.279 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.7486, allocations: 2.031 kB / 1.279 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.7486, allocations: 6.922 kB / 1.279 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.7486, allocations: 9.5 kB / 1.279 GB, free: 2.703 MB / 0.9981 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.171e-05/0.7487, allocations: 139 kB / 1.279 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.7488, allocations: 19.16 kB / 1.279 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.7491, allocations: 229.4 kB / 1.279 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.7491, allocations: 0.7188 kB / 1.279 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7491, allocations: 0.875 kB / 1.279 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7492, allocations: 2.672 kB / 1.279 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.7493, allocations: 238.3 kB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.7493, allocations: 4.734 kB / 1.279 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.223e-05/0.7494, allocations: 17.97 kB / 1.279 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7494, allocations: 0.7812 kB / 1.279 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.7494, allocations: 11.64 kB / 1.279 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.7494, allocations: 2.484 kB / 1.279 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.7494, allocations: 4.938 kB / 1.279 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.7497, allocations: 210.7 kB / 1.279 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.7497, allocations: 91.92 kB / 1.279 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.7497, allocations: 6.062 kB / 1.279 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.7498, allocations: 3.031 kB / 1.279 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.7498, allocations: 14.31 kB / 1.279 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.7498, allocations: 10.89 kB / 1.279 GB, free: 2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001122/0.7499, allocations: 153.4 kB / 1.28 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.75, allocations: 3.938 kB / 1.28 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002356/0.7502, allocations: 38.97 kB / 1.28 GB, free: 1.887 MB / 0.9981 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.001805/0.752, allocations: 1.094 MB / 1.281 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002621/0.7523, allocations: 118.8 kB / 1.281 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7523, allocations: 0.75 kB / 1.281 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.7524, allocations: 49.75 kB / 1.281 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.7526, allocations: 36.94 kB / 1.281 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.7544, allocations: 1.955 MB / 1.283 GB, free: 15.63 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.7547, allocations: 0.7172 MB / 1.284 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.7549, allocations: 55.92 kB / 1.284 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.755, allocations: 57.36 kB / 1.284 GB, free: 14.88 MB / 1.014 GB Notification: Performance of SimCode: time 4.1e-07/0.755, allocations: 0 / 1.284 GB, free: 14.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.7832, allocations: 4.73 MB / 1.288 GB, free: 13.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.178/7.961, allocations: 12.89 kB / 1.288 GB, free: 13.92 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.478726538000046]