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.007985/0.007984, allocations: 98.8 kB / 15.73 MB, free: 6.047 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.001933/0.001933, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.808/2.808, allocations: 437.1 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003041/0.003041, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3381, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003191/0.3414, allocations: 1.652 MB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.3436, allocations: 1.479 MB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.3437, allocations: 7.938 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.3441, allocations: 47.77 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.3443, allocations: 51.77 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.3446, allocations: 107.6 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.3449, allocations: 171.6 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.3449, allocations: 8.219 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.963e-05/0.345, allocations: 59.78 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.3452, allocations: 75.73 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.3452, allocations: 8 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.3454, allocations: 67.97 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.3455, allocations: 39.89 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.899e-05/0.3455, allocations: 59.61 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.3459, allocations: 207.3 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3459, allocations: 0 / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3459, allocations: 0 / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.3459, allocations: 0 / 1.17 GB, free: 3.23 MB / 0.92 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.000682/0.3466, allocations: 474.3 kB / 1.171 GB, free: 2.719 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3466, allocations: 12.03 kB / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.766e-05/0.3467, allocations: 38.73 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.729e-05/0.3468, allocations: 20.8 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.3472, allocations: 256 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3472, allocations: 8.375 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.3472, allocations: 7.875 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.3475, allocations: 111.3 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3475, allocations: 8 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3475, allocations: 4 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3475, allocations: 0 / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.3478, allocations: 139.8 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.3481, allocations: 237.5 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.3485, allocations: 174.4 kB / 1.172 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.3486, allocations: 60.83 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.3486, allocations: 4 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.3489, allocations: 115.3 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.3489, allocations: 0 / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0005067/0.3494, allocations: 225.1 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.3495, allocations: 77.11 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.3498, allocations: 202.6 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.3498, allocations: 41.69 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.933e-05/0.3499, allocations: 108.1 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.35, allocations: 51.61 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.35, allocations: 29.72 kB / 1.172 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3502, allocations: 330.8 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.3503, allocations: 43.98 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.3504, allocations: 70.55 kB / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.3507, allocations: 133.7 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3507, allocations: 3.938 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003876/0.3511, allocations: 189.5 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3511, allocations: 4 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3511, allocations: 4 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3512, allocations: 3.938 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.3513, allocations: 27.92 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.3513, allocations: 4.141 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.3514, allocations: 11.94 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.3514, allocations: 7.984 kB / 1.173 GB, free: 15.8 MB / 0.9356 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.0001565/0.3516, allocations: 142.6 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.3516, allocations: 19.86 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.995e-05/0.3517, allocations: 25.52 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3517, allocations: 4 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3517, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3517, allocations: 4 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.352, allocations: 241.5 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.352, allocations: 3.938 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.809e-05/0.3521, allocations: 19.98 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3521, allocations: 3.984 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3521, allocations: 4 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3521, allocations: 0 / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3521, allocations: 0 / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.3525, allocations: 220.5 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.3526, allocations: 97 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.3526, allocations: 0 / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.3526, allocations: 8 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.3527, allocations: 11.92 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.3527, allocations: 8 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001534/0.3529, allocations: 160.2 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3529, allocations: 0 / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002514/0.3531, allocations: 35.89 kB / 1.174 GB, free: 14.71 MB / 0.9356 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.002182/0.3553, allocations: 1.097 MB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.3556, allocations: 127.9 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3556, allocations: 0 / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.3558, allocations: 63.91 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.3561, allocations: 33.03 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.3584, allocations: 1.945 MB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.3588, allocations: 0.7319 MB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.3589, allocations: 49.64 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.3591, allocations: 55.41 kB / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3591, allocations: 0 / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.3866, allocations: 4.694 MB / 1.183 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/8.868, allocations: 11.06 kB / 1.183 GB, free: 6.094 MB / 0.9356 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