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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_latest_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_latest_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.0007675/0.0007675, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00493/0.00493, allocations: 174.1 kB / 16.26 MB, free: 6.613 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.734/2.734, allocations: 443.3 MB / 0.7175 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 8.469 kB / 0.8796 GB, free: 41.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2779, allocations: 155.2 MB / 1.031 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00183/0.2798, allocations: 1.355 MB / 1.032 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.2817, allocations: 1.44 MB / 1.034 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.2817, allocations: 7.938 kB / 1.034 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.2821, allocations: 55.81 kB / 1.034 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.2823, allocations: 47.83 kB / 1.034 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.2826, allocations: 90.66 kB / 1.034 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.2828, allocations: 151.7 kB / 1.034 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.2828, allocations: 8.172 kB / 1.034 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.419e-05/0.2829, allocations: 55.77 kB / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.2831, allocations: 67.75 kB / 1.034 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.2831, allocations: 4 kB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.2833, allocations: 67.89 kB / 1.034 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.2833, allocations: 35.91 kB / 1.034 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.812e-05/0.2834, allocations: 85.3 kB / 1.034 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.2837, allocations: 183.7 kB / 1.035 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2837, allocations: 3.938 kB / 1.035 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2837, allocations: 0 / 1.035 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2837, allocations: 0 / 1.035 GB, free: 0.6016 MB / 0.7794 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.0005462/0.2843, allocations: 442.8 kB / 1.035 GB, free: 124 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2843, allocations: 8.031 kB / 1.035 GB, free: 116 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.2844, allocations: 16.75 kB / 1.035 GB, free: 100 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.2847, allocations: 267.7 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.2847, allocations: 8.359 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.2847, allocations: 12.12 kB / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.285, allocations: 115.3 kB / 1.035 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.285, allocations: 3.938 kB / 1.036 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2851, allocations: 0 / 1.036 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2851, allocations: 4 kB / 1.036 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.2853, allocations: 139.9 kB / 1.036 GB, free: 15.51 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.2856, allocations: 233.6 kB / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.286, allocations: 174.5 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.93e-05/0.2861, allocations: 60.77 kB / 1.036 GB, free: 14.99 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.2861, allocations: 4 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.2863, allocations: 115.3 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.2864, allocations: 0 / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0004401/0.2868, allocations: 217.4 kB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.2869, allocations: 81.11 kB / 1.036 GB, free: 14.54 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.2871, allocations: 198.8 kB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.2872, allocations: 29.7 kB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.2872, allocations: 112.2 kB / 1.037 GB, free: 14.19 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.2873, allocations: 55.23 kB / 1.037 GB, free: 14.13 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.2873, allocations: 21.7 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2875, allocations: 334.8 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.734e-05/0.2876, allocations: 47.97 kB / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.2877, allocations: 74.55 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.2879, allocations: 125.2 kB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2879, allocations: 0 / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003093/0.2882, allocations: 197.4 kB / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2883, allocations: 5.875 kB / 1.038 GB, free: 13.31 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2883, allocations: 4 kB / 1.038 GB, free: 13.31 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.2883, allocations: 0 / 1.038 GB, free: 13.31 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.2884, allocations: 23.98 kB / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2884, allocations: 0 / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/0.2885, allocations: 11.94 kB / 1.038 GB, free: 13.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2885, allocations: 8 kB / 1.038 GB, free: 13.27 MB / 0.795 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.0001188/0.2886, allocations: 145.7 kB / 1.038 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.2886, allocations: 15.81 kB / 1.038 GB, free: 13.1 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.449e-05/0.2887, allocations: 25.52 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2887, allocations: 4 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2887, allocations: 0 / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2887, allocations: 0 / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.2889, allocations: 245.4 kB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.289, allocations: 0 / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.289, allocations: 16 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.289, allocations: 0 / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.2891, allocations: 7.984 kB / 1.038 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2891, allocations: 7.938 kB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2891, allocations: 0 / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.2894, allocations: 216.8 kB / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.2895, allocations: 88.92 kB / 1.038 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.2895, allocations: 8 kB / 1.038 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.2896, allocations: 11.92 kB / 1.038 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.2896, allocations: 15.92 kB / 1.038 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.2897, allocations: 15.98 kB / 1.038 GB, free: 12.36 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001373/0.2898, allocations: 156 kB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2898, allocations: 0 / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002392/0.2901, allocations: 35.98 kB / 1.039 GB, free: 12.18 MB / 0.795 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.001043/0.2911, allocations: 458.9 kB / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.2914, allocations: 119.9 kB / 1.039 GB, free: 11.77 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2914, allocations: 0 / 1.039 GB, free: 11.77 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.2915, allocations: 63.92 kB / 1.039 GB, free: 11.71 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.2918, allocations: 32.52 kB / 1.039 GB, free: 11.68 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.2923, allocations: 331.5 kB / 1.04 GB, free: 11.33 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.2926, allocations: 0.7205 MB / 1.04 GB, free: 10.58 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.2928, allocations: 53.5 kB / 1.04 GB, free: 10.53 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.2928, allocations: 35.36 kB / 1.04 GB, free: 10.5 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.2928, allocations: 0 / 1.04 GB, free: 10.5 MB / 0.795 GB Notification: Performance of Templates: time 0.005603/0.2984, allocations: 2.373 MB / 1.043 GB, free: 8.168 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (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 & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches