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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008276/0.008276, allocations: 100.4 kB / 15.73 MB, free: 6.066 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.001539/0.001539, allocations: 200.2 kB / 16.68 MB, free: 5.973 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 1.054 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8366/0.838, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003309/0.8414, allocations: 1.65 MB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.8437, allocations: 1.487 MB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.8439, allocations: 0 / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.8444, allocations: 47.77 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.8447, allocations: 55.7 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.845, allocations: 107.7 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000268/0.8453, allocations: 167.6 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.649e-05/0.8454, allocations: 8.219 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.8455, allocations: 59.78 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.8457, allocations: 67.73 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.8458, allocations: 16 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.846, allocations: 63.97 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.716e-05/0.8461, allocations: 47.83 kB / 1.211 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.739e-05/0.8462, allocations: 63.64 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.8466, allocations: 197.6 kB / 1.211 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.8466, allocations: 0 / 1.211 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8466, allocations: 0 / 1.211 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.8466, allocations: 0 / 1.211 GB, free: 9.504 MB / 0.9356 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.0007755/0.8474, allocations: 470.5 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.8475, allocations: 15.97 kB / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.876e-05/0.8475, allocations: 42.73 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.725e-05/0.8476, allocations: 16.75 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.8481, allocations: 260 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.8481, allocations: 384 / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.8481, allocations: 7.938 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.8484, allocations: 119.3 kB / 1.212 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.8484, allocations: 0 / 1.212 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.8484, allocations: 4 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.8484, allocations: 4 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.8487, allocations: 143.8 kB / 1.212 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.8489, allocations: 233.4 kB / 1.212 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.8494, allocations: 186.3 kB / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.8495, allocations: 52.83 kB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.8495, allocations: 8 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.8498, allocations: 110.5 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.654e-06/0.8498, allocations: 0 / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.000506/0.8503, allocations: 229.4 kB / 1.213 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.8504, allocations: 77.11 kB / 1.213 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.8506, allocations: 204.1 kB / 1.213 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.8506, allocations: 37.69 kB / 1.213 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.432e-05/0.8507, allocations: 112.1 kB / 1.213 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.8508, allocations: 47.42 kB / 1.213 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.786e-05/0.8509, allocations: 29.72 kB / 1.214 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.851, allocations: 334.8 kB / 1.214 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.8511, allocations: 43.98 kB / 1.214 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.8513, allocations: 70.55 kB / 1.214 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.8515, allocations: 129.7 kB / 1.214 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.8515, allocations: 3.938 kB / 1.214 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003516/0.8519, allocations: 198.8 kB / 1.214 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.8519, allocations: 4 kB / 1.214 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.8519, allocations: 0 / 1.214 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.852, allocations: 4 kB / 1.214 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.8521, allocations: 23.98 kB / 1.214 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.8521, allocations: 0 / 1.214 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.8522, allocations: 19.88 kB / 1.214 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.8522, allocations: 4 kB / 1.214 GB, free: 6.062 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.0001302/0.8523, allocations: 147.8 kB / 1.214 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.8524, allocations: 19.75 kB / 1.214 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.527e-05/0.8524, allocations: 25.52 kB / 1.214 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.8525, allocations: 0 / 1.214 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8525, allocations: 0 / 1.214 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8525, allocations: 4 kB / 1.214 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.8527, allocations: 237.4 kB / 1.215 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.8527, allocations: 4 kB / 1.215 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.8528, allocations: 19.98 kB / 1.215 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.8528, allocations: 0 / 1.215 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.8528, allocations: 4 kB / 1.215 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.8528, allocations: 0 / 1.215 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8528, allocations: 0 / 1.215 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.8532, allocations: 212.8 kB / 1.215 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.8533, allocations: 96.84 kB / 1.215 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.8533, allocations: 15.98 kB / 1.215 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.942e-05/0.8534, allocations: 4 kB / 1.215 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.8534, allocations: 7.984 kB / 1.215 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.8534, allocations: 12 kB / 1.215 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001423/0.8536, allocations: 152.5 kB / 1.215 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8536, allocations: 0 / 1.215 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000255/0.8539, allocations: 36 kB / 1.215 GB, free: 4.988 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.001626/0.8555, allocations: 1.103 MB / 1.216 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002935/0.8558, allocations: 120 kB / 1.216 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.8558, allocations: 4.062 kB / 1.216 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.8559, allocations: 67.91 kB / 1.217 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.8563, allocations: 27.92 kB / 1.217 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.8586, allocations: 1.94 MB / 1.218 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.8589, allocations: 0.7241 MB / 1.219 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.859, allocations: 45.67 kB / 1.219 GB, free: 1 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.8591, allocations: 55.41 kB / 1.219 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of SimCode: time 1.923e-06/0.8592, allocations: 4 kB / 1.219 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.8863, allocations: 4.769 MB / 1.224 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.989, allocations: 9.797 kB / 1.224 GB, free: 12.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 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.mat","/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) "" 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