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.0008084/0.0008084, allocations: 92.62 kB / 16.02 MB, free: 80 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.001039/0.001039, allocations: 181.4 kB / 16.92 MB, free: 6.652 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.364/1.364, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.792/2.792, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.000396, allocations: 10.66 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.32, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002252/0.3223, allocations: 1.362 MB / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002134/0.3245, allocations: 1.444 MB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.3246, allocations: 0 / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.325, allocations: 47.83 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.3252, allocations: 47.83 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.3256, allocations: 83.84 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.3258, allocations: 163.6 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.3259, allocations: 4.234 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.326, allocations: 59.77 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.3262, allocations: 59.75 kB / 1.063 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.3262, allocations: 8 kB / 1.063 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3264, allocations: 63.95 kB / 1.063 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.584e-05/0.3264, allocations: 35.84 kB / 1.063 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.3265, allocations: 85.36 kB / 1.063 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.3268, allocations: 143.9 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3268, allocations: 4 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3268, allocations: 0 / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.3268, allocations: 0 / 1.063 GB, free: 1.348 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.0006003/0.3274, allocations: 446.8 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3275, allocations: 11.97 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.3275, allocations: 16.75 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.3279, allocations: 263.9 kB / 1.064 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3279, allocations: 384 / 1.064 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.3279, allocations: 8.125 kB / 1.064 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.3282, allocations: 127.2 kB / 1.064 GB, free: 404 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3282, allocations: 0 / 1.064 GB, free: 404 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3282, allocations: 0 / 1.064 GB, free: 404 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3282, allocations: 4 kB / 1.064 GB, free: 400 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.3285, allocations: 139.9 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.3287, allocations: 225.5 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.3292, allocations: 174.6 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3293, allocations: 60.77 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.3293, allocations: 7.938 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.3296, allocations: 110 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/0.3296, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004882/0.3301, allocations: 221.4 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.3301, allocations: 81.11 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.3304, allocations: 204.1 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3304, allocations: 33.69 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.3305, allocations: 112.1 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.3305, allocations: 59.27 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.3306, allocations: 17.72 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3307, allocations: 322.8 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.3308, allocations: 51.97 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3309, allocations: 78.53 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.3312, allocations: 129.1 kB / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3312, allocations: 0 / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000328/0.3315, allocations: 189.3 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3315, allocations: 8 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3316, allocations: 0 / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3316, allocations: 4.062 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3317, allocations: 27.98 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3317, allocations: 8.047 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.995e-05/0.3318, allocations: 7.938 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3318, allocations: 4 kB / 1.066 GB, free: 14.01 MB / 0.8262 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.0001303/0.3319, allocations: 139.3 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.332, allocations: 19.8 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.52e-05/0.332, allocations: 21.53 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3321, allocations: 8 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3321, allocations: 0 / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3321, allocations: 3.984 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.3323, allocations: 237.4 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3323, allocations: 3.938 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.3324, allocations: 19.94 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3324, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.3324, allocations: 11.98 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3324, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3324, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.3328, allocations: 220.8 kB / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.3328, allocations: 92.92 kB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.3329, allocations: 4 kB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.298e-05/0.3329, allocations: 7.984 kB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.333, allocations: 11.98 kB / 1.067 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.333, allocations: 4 kB / 1.067 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001502/0.3332, allocations: 155 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3332, allocations: 4 kB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002745/0.3334, allocations: 36 kB / 1.067 GB, free: 12.94 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.001119/0.3346, allocations: 471.6 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.3349, allocations: 117.6 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3349, allocations: 0 / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.335, allocations: 63.92 kB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.3354, allocations: 36.08 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.336, allocations: 360 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.3363, allocations: 0.7205 MB / 1.069 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.878e-05/0.3364, allocations: 35.36 kB / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3364, allocations: 3.938 kB / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.005416/0.3418, allocations: 2.758 MB / 1.071 GB, free: 8.531 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