Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_10_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.004959/0.004959, allocations: 100.6 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.001296/0.001296, allocations: 189.8 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.526/2.526, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 67.89 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8011/0.8026, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003388/0.806, allocations: 1.656 MB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.8082, allocations: 1.487 MB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.8083, allocations: 4 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004457/0.8088, allocations: 51.7 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.809, allocations: 59.75 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.8093, allocations: 109.2 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.8095, allocations: 163.6 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.8095, allocations: 8.219 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.8097, allocations: 67.77 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.8098, allocations: 67.8 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.8099, allocations: 8 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.81, allocations: 63.97 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.624e-05/0.8101, allocations: 51.83 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.8102, allocations: 55.61 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.8104, allocations: 194.9 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.8105, allocations: 4 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.223e-06/0.8105, allocations: 3.938 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.8105, allocations: 0 / 1.17 GB, free: 15.74 MB / 0.9044 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.0006158/0.8111, allocations: 474.4 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.8111, allocations: 8.625 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.8112, allocations: 38.69 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.8112, allocations: 20.8 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.8117, allocations: 265.6 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.8117, allocations: 4.375 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.8117, allocations: 11.94 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.8119, allocations: 119.2 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.812, allocations: 3.938 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.812, allocations: 3.984 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.812, allocations: 4 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.8122, allocations: 139.9 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.8124, allocations: 225.6 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.8128, allocations: 170.5 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.8129, allocations: 52.83 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.813, allocations: 11.98 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.8132, allocations: 119.2 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.8132, allocations: 0 / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0004534/0.8136, allocations: 227.1 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.8137, allocations: 81.11 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.8139, allocations: 206.6 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.8139, allocations: 29.7 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.814, allocations: 112.2 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.814, allocations: 43.62 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.8141, allocations: 37.7 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.8142, allocations: 326.8 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.345e-05/0.8143, allocations: 55.86 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.8144, allocations: 73.08 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.8146, allocations: 122.9 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8146, allocations: 3.938 kB / 1.173 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002971/0.8149, allocations: 197.5 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.815, allocations: 8 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.815, allocations: 0 / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.815, allocations: 3.984 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.8151, allocations: 28 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.8151, allocations: 0 / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.8152, allocations: 7.984 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.8152, allocations: 11.94 kB / 1.173 GB, free: 12.3 MB / 0.9044 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.0001201/0.8153, allocations: 144 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.8154, allocations: 19.86 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.594e-05/0.8154, allocations: 29.52 kB / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.8154, allocations: 0 / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8154, allocations: 0 / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.8155, allocations: 0 / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.8156, allocations: 241.4 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.8157, allocations: 4 kB / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.8157, allocations: 15.98 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.8157, allocations: 4 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.8158, allocations: 7.984 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.8158, allocations: 11.94 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.8158, allocations: 0 / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.8161, allocations: 206.2 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.8162, allocations: 89.02 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.8162, allocations: 8 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.554e-05/0.8162, allocations: 0 / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.8163, allocations: 23.92 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.8163, allocations: 11.98 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001318/0.8165, allocations: 152.2 kB / 1.174 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8165, allocations: 0 / 1.174 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002598/0.8167, allocations: 47.88 kB / 1.174 GB, free: 11.21 MB / 0.9044 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.001488/0.8182, allocations: 1.09 MB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.8185, allocations: 123.9 kB / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8185, allocations: 4 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.8186, allocations: 59.91 kB / 1.175 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.8189, allocations: 37.17 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.821, allocations: 1.944 MB / 1.177 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.8213, allocations: 0.7202 MB / 1.178 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.8214, allocations: 49.66 kB / 1.178 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.86e-05/0.8215, allocations: 63.41 kB / 1.178 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of SimCode: time 3.2e-07/0.8215, allocations: 0 / 1.178 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.8449, allocations: 4.7 MB / 1.183 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.876, allocations: 15.94 kB / 1.183 GB, free: 2.535 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches