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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006876/0.006876, allocations: 100.5 kB / 15.73 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 192.8 kB / 16.67 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.605/2.605, allocations: 469.4 MB / 0.7422 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.89 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7951/0.7965, allocations: 159.1 MB / 1.22 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002961/0.7995, allocations: 1.64 MB / 1.221 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.8015, allocations: 1.484 MB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.155e-05/0.8016, allocations: 3.938 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.8021, allocations: 55.73 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.8023, allocations: 51.77 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.8026, allocations: 107.6 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.8028, allocations: 163.6 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.8029, allocations: 8.234 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.803, allocations: 71.75 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.8032, allocations: 63.75 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.8032, allocations: 8 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.8034, allocations: 71.95 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.8035, allocations: 47.84 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.845e-05/0.8035, allocations: 59.66 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.8038, allocations: 198.9 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.8039, allocations: 0 / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8039, allocations: 0 / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.8039, allocations: 0 / 1.224 GB, free: 14.25 MB / 0.9512 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.0006026/0.8045, allocations: 482.3 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.8045, allocations: 12.56 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.8046, allocations: 34.75 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.8046, allocations: 20.83 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.8051, allocations: 264 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.8051, allocations: 384 / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.8051, allocations: 15.88 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.8054, allocations: 119.3 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.8054, allocations: 0 / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.8054, allocations: 0 / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.8054, allocations: 4 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.8056, allocations: 139.9 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.8059, allocations: 229.5 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.8063, allocations: 182.4 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.8064, allocations: 56.84 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.8064, allocations: 11.97 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.8066, allocations: 110.7 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.8067, allocations: 0 / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0004849/0.8072, allocations: 221.5 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.8072, allocations: 81.11 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.8074, allocations: 212.1 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.8074, allocations: 29.7 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.8075, allocations: 112.1 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.8076, allocations: 43.64 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.8076, allocations: 33.81 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8077, allocations: 330.8 kB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.8078, allocations: 55.91 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.808, allocations: 77.5 kB / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.8082, allocations: 129.6 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.8082, allocations: 3.938 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003239/0.8085, allocations: 185.6 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.8086, allocations: 4 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8086, allocations: 0 / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.8086, allocations: 0 / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.8087, allocations: 39.98 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.8087, allocations: 0 / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.201e-05/0.8088, allocations: 7.953 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.8088, allocations: 4 kB / 1.227 GB, free: 10.81 MB / 0.9512 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.0001165/0.8089, allocations: 144 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.809, allocations: 19.84 kB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.297e-05/0.809, allocations: 25.53 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.8091, allocations: 0 / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8091, allocations: 0 / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.8091, allocations: 7.984 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.8093, allocations: 245.4 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.8093, allocations: 4 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.899e-05/0.8094, allocations: 19.98 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.8094, allocations: 0 / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.8094, allocations: 4 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.8094, allocations: 4 kB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8094, allocations: 0 / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.8097, allocations: 220.2 kB / 1.227 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.8098, allocations: 89.02 kB / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.8099, allocations: 8 kB / 1.228 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.8099, allocations: 3.984 kB / 1.228 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.81, allocations: 19.92 kB / 1.228 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.81, allocations: 4 kB / 1.228 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001345/0.8101, allocations: 156.4 kB / 1.228 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8101, allocations: 0 / 1.228 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002604/0.8104, allocations: 39.94 kB / 1.228 GB, free: 9.719 MB / 0.9512 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.001553/0.812, allocations: 1.088 MB / 1.229 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.8122, allocations: 127.9 kB / 1.229 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.8123, allocations: 4 kB / 1.229 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.8124, allocations: 55.92 kB / 1.229 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.8127, allocations: 42.91 kB / 1.229 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.8149, allocations: 1.947 MB / 1.231 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.8152, allocations: 0.7241 MB / 1.232 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.8153, allocations: 45.66 kB / 1.232 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.8154, allocations: 63.41 kB / 1.232 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.8155, allocations: 0 / 1.232 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.8384, allocations: 4.684 MB / 1.236 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.59, allocations: 22.44 kB / 1.236 GB, free: 1.109 MB / 0.9512 GB (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 50 --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) 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) Reference file matches