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: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 110.5 kB / 16.41 MB, free: 6.5 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.001801/0.001801, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.629/1.629, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.82/2.82, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8881/0.89, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003371/0.8934, allocations: 1.651 MB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002388/0.8958, allocations: 1.496 MB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.896, allocations: 0 / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004745/0.8965, allocations: 59.7 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.8967, allocations: 47.77 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.897, allocations: 109.2 kB / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.8972, allocations: 163.6 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.063e-05/0.8973, allocations: 12.2 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.8974, allocations: 63.77 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.8976, allocations: 63.81 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.8977, allocations: 16 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.8978, allocations: 67.95 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.8979, allocations: 47.78 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.898, allocations: 59.78 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.8984, allocations: 191.8 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.8984, allocations: 4 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8984, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.8984, allocations: 0 / 1.171 GB, free: 15.8 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.000816/0.8992, allocations: 470.3 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.8993, allocations: 16.03 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.445e-05/0.8994, allocations: 24.73 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.8999, allocations: 257.6 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.8999, allocations: 8.375 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.8999, allocations: 8.125 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.9002, allocations: 111.3 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.9002, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.9003, allocations: 4 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.9003, allocations: 8 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.9006, allocations: 139.8 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.9009, allocations: 245.3 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.9013, allocations: 166.6 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.9014, allocations: 56.78 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.9015, allocations: 15.97 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.9017, allocations: 111.3 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.9017, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0005391/0.9023, allocations: 222.3 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.9024, allocations: 81.11 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.9026, allocations: 198.6 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.9026, allocations: 33.7 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.9027, allocations: 116.1 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.756e-05/0.9028, allocations: 43.64 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.508e-05/0.9029, allocations: 33.7 kB / 1.174 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.9031, allocations: 326.8 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.9032, allocations: 47.97 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.9034, allocations: 74.48 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.9036, allocations: 131.2 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9036, allocations: 0 / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003383/0.904, allocations: 195.4 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.904, allocations: 7.938 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.904, allocations: 4 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.904, allocations: 0 / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.9042, allocations: 23.98 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.9042, allocations: 0 / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.617e-05/0.9042, allocations: 11.94 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.9043, allocations: 8.031 kB / 1.174 GB, free: 12.42 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.000138/0.9044, allocations: 143.9 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.9044, allocations: 23.86 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.083e-05/0.9045, allocations: 21.52 kB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.9045, allocations: 0 / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.9045, allocations: 4 kB / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.9045, allocations: 0 / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.9048, allocations: 241.5 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9048, allocations: 0 / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/0.9049, allocations: 20 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.9049, allocations: 0 / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.9049, allocations: 7.984 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.9049, allocations: 0 / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.9049, allocations: 3.938 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.9053, allocations: 224.8 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.9053, allocations: 92.95 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.9054, allocations: 4 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.9054, allocations: 12 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.9055, allocations: 11.98 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.9055, allocations: 8 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001443/0.9057, allocations: 156.2 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9057, allocations: 0 / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002536/0.9059, allocations: 35.94 kB / 1.175 GB, free: 11.33 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.001692/0.9076, allocations: 468.1 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003061/0.908, allocations: 121 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.908, allocations: 0 / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.9081, allocations: 63.91 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.9084, allocations: 30.73 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.9091, allocations: 304.4 kB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.9094, allocations: 0.7202 MB / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.9095, allocations: 41.52 kB / 1.177 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.9096, allocations: 39.42 kB / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of SimCode: time 2.154e-06/0.9096, allocations: 0 / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of Templates: time 0.006626/0.9163, allocations: 2.529 MB / 1.179 GB, free: 7.195 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (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 & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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) Reference file matches