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.001395/0.001395, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.414/1.414, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.767/2.767, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 64.95 kB / 0.899 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3183, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003563/0.322, allocations: 1.712 MB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0024/0.3244, allocations: 1.463 MB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3245, allocations: 0 / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005322/0.3251, allocations: 47.83 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.3253, allocations: 47.84 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.3257, allocations: 95.02 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.3259, allocations: 155.6 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.326, allocations: 8.234 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.3261, allocations: 55.77 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.3263, allocations: 63.75 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.3264, allocations: 4 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.3265, allocations: 63.95 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.3266, allocations: 43.84 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.912e-05/0.3267, allocations: 59.59 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.327, allocations: 147.9 kB / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.327, allocations: 0 / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.51e-07/0.327, allocations: 0 / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.327, allocations: 0 / 1.057 GB, free: 4.336 MB / 0.8106 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.0006707/0.3277, allocations: 466.7 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3278, allocations: 11.97 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.442e-05/0.3278, allocations: 16.75 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.3282, allocations: 259.9 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3282, allocations: 4.375 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.3283, allocations: 12.12 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.3285, allocations: 119.3 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3286, allocations: 0 / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3286, allocations: 0 / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3286, allocations: 4 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.3288, allocations: 139.9 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.3291, allocations: 233.4 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.3295, allocations: 174.5 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3297, allocations: 56.78 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.3297, allocations: 8 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003233/0.33, allocations: 111.3 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 5.47e-06/0.33, allocations: 7.984 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005266/0.3306, allocations: 217.4 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.3307, allocations: 85.11 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.3309, allocations: 200.1 kB / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3309, allocations: 33.64 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.443e-05/0.331, allocations: 116.1 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.862e-05/0.3311, allocations: 47.38 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.3311, allocations: 33.7 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3313, allocations: 330.8 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.3314, allocations: 43.98 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.3315, allocations: 72.52 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.3317, allocations: 129.6 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3317, allocations: 0 / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003444/0.3321, allocations: 196 kB / 1.06 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3321, allocations: 4 kB / 1.06 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3321, allocations: 4 kB / 1.06 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3322, allocations: 0 / 1.06 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3323, allocations: 28.03 kB / 1.06 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3323, allocations: 7.938 kB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.3324, allocations: 11.89 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.3324, allocations: 8 kB / 1.06 GB, free: 0.9609 MB / 0.8106 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.0001239/0.3325, allocations: 133.8 kB / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.3326, allocations: 19.81 kB / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.425e-05/0.3327, allocations: 25.52 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3327, allocations: 4 kB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3327, allocations: 0 / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3327, allocations: 4 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.3329, allocations: 237.5 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3329, allocations: 0 / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.929e-05/0.333, allocations: 23.92 kB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.333, allocations: 0 / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.333, allocations: 4 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.333, allocations: 0 / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.333, allocations: 11.97 kB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.3334, allocations: 212.8 kB / 1.06 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.3335, allocations: 92.91 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.3335, allocations: 4 kB / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.3336, allocations: 4 kB / 1.06 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.3336, allocations: 11.92 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.3337, allocations: 12 kB / 1.06 GB, free: 84 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001616/0.3338, allocations: 155 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3338, allocations: 0 / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002692/0.3341, allocations: 36 kB / 1.061 GB, free: 15.89 MB / 0.8262 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.001158/0.3353, allocations: 462.6 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000303/0.3356, allocations: 123.9 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3356, allocations: 0 / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3357, allocations: 58.47 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.336, allocations: 46.52 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006436/0.3367, allocations: 366.5 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.337, allocations: 0.7166 MB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.435e-05/0.3371, allocations: 39.36 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3371, allocations: 0 / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of Templates: time 0.005518/0.3427, allocations: 2.778 MB / 1.065 GB, free: 11.46 MB / 0.8262 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/jenkins1/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