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.008594/0.008594, allocations: 104.1 kB / 15.74 MB, free: 6.059 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.001803/0.001804, allocations: 197.7 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.2 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.365/2.365, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 59.91 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8353/0.8376, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003021/0.8406, allocations: 1.646 MB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002122/0.8428, allocations: 1.487 MB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.685e-05/0.8429, allocations: 0 / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.8434, allocations: 47.77 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.8436, allocations: 67.69 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.844, allocations: 97.31 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.8442, allocations: 171.6 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.8443, allocations: 4.234 kB / 1.17 GB, free: 276 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.8444, allocations: 67.77 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.8446, allocations: 71.73 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.8446, allocations: 12 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.8448, allocations: 63.97 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.8449, allocations: 43.84 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.845, allocations: 59.78 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.8453, allocations: 193.5 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.8453, allocations: 4 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8453, allocations: 3.938 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.8453, allocations: 0 / 1.17 GB, free: 15.76 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.0006657/0.846, allocations: 474.6 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.846, allocations: 12.92 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.8461, allocations: 30.75 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.8461, allocations: 24.73 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.8466, allocations: 257.5 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.8466, allocations: 4.375 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.8466, allocations: 11.94 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.8469, allocations: 115.3 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.8469, allocations: 8 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.8469, allocations: 0 / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.8469, allocations: 0 / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.8472, allocations: 143.8 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.8474, allocations: 241.4 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.8478, allocations: 174.4 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.8479, allocations: 52.84 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.848, allocations: 7.984 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.8482, allocations: 116.7 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.8482, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0005543/0.8488, allocations: 222.4 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/0.8489, allocations: 81.11 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.8492, allocations: 202.6 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.8492, allocations: 37.7 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.8493, allocations: 112.2 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.8494, allocations: 47.39 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.8494, allocations: 33.7 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.8496, allocations: 326.8 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.8497, allocations: 51.97 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.8498, allocations: 70.55 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.8501, allocations: 126.5 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.8501, allocations: 3.938 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003197/0.8504, allocations: 186.2 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8504, allocations: 7.984 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.8504, allocations: 4 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.8504, allocations: 0 / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.8506, allocations: 24 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.8506, allocations: 8.016 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.8507, allocations: 11.84 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.8507, allocations: 8 kB / 1.173 GB, free: 12.33 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.0001513/0.8508, allocations: 141.7 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.8509, allocations: 15.81 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.234e-05/0.8509, allocations: 25.52 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.851, allocations: 4 kB / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.851, allocations: 0 / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.851, allocations: 0 / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.8513, allocations: 245.4 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8513, allocations: 0 / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.8514, allocations: 16 kB / 1.174 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8514, allocations: 0 / 1.174 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.8514, allocations: 11.98 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8514, allocations: 0 / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8514, allocations: 0 / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.8518, allocations: 217.8 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.8519, allocations: 100.8 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.8519, allocations: 4 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/0.8519, allocations: 12 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.852, allocations: 11.92 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.852, allocations: 11.98 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001468/0.8522, allocations: 152.2 kB / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8522, allocations: 0 / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002651/0.8525, allocations: 39.98 kB / 1.174 GB, free: 11.24 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.001758/0.8542, allocations: 1.097 MB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.8545, allocations: 120 kB / 1.175 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8545, allocations: 0 / 1.175 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.8547, allocations: 63.91 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.855, allocations: 35.7 kB / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.8575, allocations: 1.958 MB / 1.177 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.8578, allocations: 0.7163 MB / 1.178 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000121/0.8579, allocations: 41.67 kB / 1.178 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.8581, allocations: 63.41 kB / 1.178 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of SimCode: time 2.214e-06/0.8581, allocations: 0 / 1.178 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.8815, allocations: 4.697 MB / 1.183 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.598, allocations: 16.8 kB / 1.183 GB, free: 2.562 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 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.mat","/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) "" Variables in the reference:time,combiTimeTable.y[1] Variables in the result:combiTimeTable.columns[1],combiTimeTable.columns[2],combiTimeTable.columns[3],combiTimeTable.columns[4],combiTimeTable.columns[5],combiTimeTable.columns[6],combiTimeTable.columns[7],combiTimeTable.columns[8],combiTimeTable.columns[9],combiTimeTable.extrapolation,combiTimeTable.nout,combiTimeTable.offset[1],combiTimeTable.shiftTime,combiTimeTable.smoothness,combiTimeTable.startTime,combiTimeTable.t_max,combiTimeTable.t_maxScaled,combiTimeTable.t_min,combiTimeTable.t_minScaled,combiTimeTable.tableOnFile,combiTimeTable.timeEvents,combiTimeTable.timeScale,combiTimeTable.verboseExtrapolation,combiTimeTable.verboseRead,combiTimeTable.y[1],combiTimeTable.y[2],combiTimeTable.y[3],combiTimeTable.y[4],combiTimeTable.y[5],combiTimeTable.y[6],combiTimeTable.y[7],combiTimeTable.y[8],combiTimeTable.y[9],pipeDataToBeRead.nCol,time