Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_9_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.005378/0.005378, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001306/0.001306, allocations: 190.7 kB / 16.67 MB, free: 5.934 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.317/1.317, 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 9.1.3-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 63.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7979/0.7995, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002766/0.8023, allocations: 1.653 MB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.8043, allocations: 1.478 MB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.8044, allocations: 4.875 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.8048, allocations: 53.58 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.805, allocations: 61.83 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.8054, allocations: 99.67 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.8056, allocations: 169.8 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.8056, allocations: 6.062 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.8058, allocations: 62.77 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.8059, allocations: 68.47 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.806, allocations: 10.44 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.8061, allocations: 67.28 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.8062, allocations: 43.69 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.715e-05/0.8063, allocations: 65.98 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.8066, allocations: 195.3 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.8066, allocations: 0 / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8066, allocations: 0.7188 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.8067, allocations: 0 / 1.091 GB, free: 2.668 MB / 0.8575 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.0005862/0.8072, allocations: 472.6 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.8073, allocations: 14.3 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.8073, allocations: 34.45 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.8074, allocations: 16.95 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.8078, allocations: 282.7 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.8079, allocations: 3.297 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.8079, allocations: 7.844 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.8081, allocations: 115.2 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.8081, allocations: 0.7812 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.8082, allocations: 0.7188 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.8082, allocations: 1.641 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.8084, allocations: 140.3 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.8087, allocations: 234.6 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.8091, allocations: 183.5 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.8092, allocations: 51.72 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.8092, allocations: 9.578 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002236/0.8094, allocations: 115.2 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.8095, allocations: 0 / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005179/0.81, allocations: 225.1 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.81, allocations: 79.23 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.8102, allocations: 206.4 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.8103, allocations: 28.52 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.8103, allocations: 115.5 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.8104, allocations: 43.89 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.8104, allocations: 36.69 kB / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.467e-05/0.8105, allocations: 329.1 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.8106, allocations: 51.09 kB / 1.094 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.8107, allocations: 70.78 kB / 1.094 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.811, allocations: 130.2 kB / 1.094 GB, free: 456 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-06/0.811, allocations: 4.484 kB / 1.094 GB, free: 452 kB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003385/0.8113, allocations: 191.4 kB / 1.094 GB, free: 364 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.8113, allocations: 5.438 kB / 1.094 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.8113, allocations: 1.641 kB / 1.094 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.8114, allocations: 0.6562 kB / 1.094 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.8115, allocations: 29.23 kB / 1.094 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.8115, allocations: 0.5625 kB / 1.094 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.8116, allocations: 8.219 kB / 1.095 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.8116, allocations: 5.266 kB / 1.095 GB, free: 356 kB / 0.8575 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.0001081/0.8117, allocations: 148.3 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.8118, allocations: 19.56 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.678e-05/0.8118, allocations: 30.83 kB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.8119, allocations: 2.016 kB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.8119, allocations: 0 / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.8119, allocations: 1.5 kB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.8121, allocations: 247.9 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8121, allocations: 0.875 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.207e-05/0.8122, allocations: 18.05 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8122, allocations: 0.9062 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.8122, allocations: 12.97 kB / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.8123, allocations: 0.8125 kB / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8123, allocations: 0 / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.8126, allocations: 217.5 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.8127, allocations: 89.7 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.8128, allocations: 6.906 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.374e-05/0.8128, allocations: 3.938 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.8129, allocations: 21.2 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.8129, allocations: 6.047 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001646/0.8131, allocations: 154.9 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8131, allocations: 0.5 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003082/0.8134, allocations: 40.64 kB / 1.095 GB, free: 15.6 MB / 0.8731 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.001645/0.815, allocations: 1.09 MB / 1.097 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003196/0.8154, allocations: 118.3 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8154, allocations: 0 / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.8155, allocations: 65.17 kB / 1.097 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.8159, allocations: 53.48 kB / 1.097 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.8184, allocations: 1.94 MB / 1.099 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.8186, allocations: 0.7159 MB / 1.099 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000136/0.8188, allocations: 48.72 kB / 1.099 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.8189, allocations: 60.83 kB / 1.099 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/0.8189, allocations: 0 / 1.099 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.8417, allocations: 4.68 MB / 1.104 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.582, allocations: 21.8 kB / 1.104 GB, free: 11.74 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches