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.007292/0.007292, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001699/0.001699, allocations: 197.2 kB / 16.68 MB, free: 5.926 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.344/1.344, 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.692/2.692, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.91 kB / 1.054 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8867/0.8881, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003305/0.8915, allocations: 1.657 MB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002265/0.8938, allocations: 1.479 MB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.986e-05/0.8939, allocations: 4 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.8945, allocations: 51.7 kB / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.8948, allocations: 59.75 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.8952, allocations: 103.6 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.8955, allocations: 167.6 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.11e-05/0.8956, allocations: 4.234 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.8958, allocations: 63.78 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.896, allocations: 67.78 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.896, allocations: 12 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.8962, allocations: 67.92 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-05/0.8963, allocations: 43.83 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.223e-05/0.8964, allocations: 59.66 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.8969, allocations: 193.7 kB / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.8969, allocations: 0 / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8969, allocations: 0 / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.8969, allocations: 0 / 1.211 GB, free: 9.551 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.0008326/0.8978, allocations: 486.5 kB / 1.212 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.8978, allocations: 8.031 kB / 1.212 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.8979, allocations: 30.75 kB / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.537e-05/0.898, allocations: 16.75 kB / 1.212 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.8985, allocations: 256 kB / 1.212 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.8985, allocations: 8.375 kB / 1.212 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.8986, allocations: 11.94 kB / 1.212 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.8988, allocations: 119.2 kB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.8988, allocations: 0 / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.8989, allocations: 7.969 kB / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.8989, allocations: 0 / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.8991, allocations: 143.8 kB / 1.212 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.8994, allocations: 237.4 kB / 1.212 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.8998, allocations: 182.4 kB / 1.213 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.8999, allocations: 56.72 kB / 1.213 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.8999, allocations: 4 kB / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.9002, allocations: 114.7 kB / 1.213 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.063e-06/0.9002, allocations: 4 kB / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005618/0.9008, allocations: 221.4 kB / 1.213 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.9008, allocations: 77.11 kB / 1.213 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.9011, allocations: 212.1 kB / 1.213 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.9011, allocations: 33.7 kB / 1.213 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.198e-05/0.9012, allocations: 112.1 kB / 1.213 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.9013, allocations: 43.44 kB / 1.213 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/0.9014, allocations: 33.7 kB / 1.214 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.9015, allocations: 330.8 kB / 1.214 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.9017, allocations: 51.97 kB / 1.214 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.9018, allocations: 62.56 kB / 1.214 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.902, allocations: 129.7 kB / 1.214 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.902, allocations: 3.938 kB / 1.214 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003522/0.9024, allocations: 195.2 kB / 1.214 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.9024, allocations: 4 kB / 1.214 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.9024, allocations: 7.984 kB / 1.214 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.9024, allocations: 0 / 1.214 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.9026, allocations: 27.94 kB / 1.214 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.9026, allocations: 7.984 kB / 1.214 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.745e-05/0.9027, allocations: 7.844 kB / 1.214 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.9027, allocations: 8 kB / 1.214 GB, free: 6.102 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.0001275/0.9028, allocations: 147.2 kB / 1.214 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.9029, allocations: 15.81 kB / 1.214 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.754e-05/0.9029, allocations: 25.52 kB / 1.214 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.9029, allocations: 4 kB / 1.214 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9029, allocations: 0 / 1.214 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.903, allocations: 0 / 1.214 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.9032, allocations: 237.4 kB / 1.215 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.9032, allocations: 0 / 1.215 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.806e-05/0.9033, allocations: 19.94 kB / 1.215 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.9033, allocations: 0 / 1.215 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.9033, allocations: 11.98 kB / 1.215 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.9033, allocations: 4 kB / 1.215 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.9033, allocations: 0 / 1.215 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.9037, allocations: 208.8 kB / 1.215 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.9037, allocations: 92.86 kB / 1.215 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.9038, allocations: 4 kB / 1.215 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.821e-05/0.9038, allocations: 4 kB / 1.215 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.9039, allocations: 11.98 kB / 1.215 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.9039, allocations: 19.92 kB / 1.215 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001449/0.9041, allocations: 148.5 kB / 1.215 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9041, allocations: 0 / 1.215 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000289/0.9044, allocations: 39.98 kB / 1.215 GB, free: 5.031 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.001604/0.906, allocations: 1.099 MB / 1.216 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.9063, allocations: 123.5 kB / 1.216 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.9063, allocations: 0 / 1.216 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.9065, allocations: 67.91 kB / 1.217 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.9068, allocations: 34.39 kB / 1.217 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.9092, allocations: 1.95 MB / 1.218 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.9095, allocations: 0.7124 MB / 1.219 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.9096, allocations: 45.67 kB / 1.219 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.9098, allocations: 63.41 kB / 1.219 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of SimCode: time 6.21e-07/0.9098, allocations: 0 / 1.219 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.9342, allocations: 4.769 MB / 1.224 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.457/9.392, allocations: 5.688 kB / 1.224 GB, free: 12.36 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