Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01241/0.01241, allocations: 101 kB / 15.73 MB, free: 6.043 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.001798/0.001798, allocations: 183.8 kB / 16.67 MB, free: 5.977 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.657/2.657, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 59.86 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3226, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003559/0.3262, allocations: 1.641 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.3287, allocations: 1.484 MB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.3288, allocations: 4 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005506/0.3294, allocations: 55.75 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.3297, allocations: 59.69 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.3301, allocations: 101.3 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.3304, allocations: 167.6 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.549e-05/0.3305, allocations: 8.219 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.3306, allocations: 67.77 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.3308, allocations: 59.75 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.3309, allocations: 12 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.3311, allocations: 67.95 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.006e-05/0.3312, allocations: 43.91 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.479e-05/0.3312, allocations: 67.53 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.3316, allocations: 191.4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3316, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3316, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.361e-06/0.3317, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 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.0007143/0.3324, allocations: 466.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3324, allocations: 12.03 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/0.3325, allocations: 16.75 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.3329, allocations: 271.3 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3329, allocations: 4.312 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.333, allocations: 16.12 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.3332, allocations: 111.3 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3332, allocations: 0 / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3333, allocations: 0 / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3333, allocations: 7.984 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.3335, allocations: 143.8 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.3338, allocations: 229.5 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.3342, allocations: 170.6 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.3343, allocations: 56.78 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.3343, allocations: 19.91 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.3346, allocations: 113.8 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.634e-06/0.3346, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.000496/0.3351, allocations: 221.4 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.3352, allocations: 85.11 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.3354, allocations: 194.8 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.3354, allocations: 29.7 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.3355, allocations: 112.1 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.3355, allocations: 47.39 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.3356, allocations: 33.7 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3357, allocations: 326.8 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3358, allocations: 51.97 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.3359, allocations: 78.48 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.3362, allocations: 124.8 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3362, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003249/0.3365, allocations: 197.3 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3365, allocations: 5.625 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3366, allocations: 8 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3366, allocations: 0 / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.3367, allocations: 23.98 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3367, allocations: 4 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.252e-05/0.3368, allocations: 7.906 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.3368, allocations: 8 kB / 1.095 GB, free: 10.07 MB / 0.8575 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.3369, allocations: 143.6 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.337, allocations: 19.8 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.701e-05/0.3371, allocations: 25.53 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.3371, allocations: 4 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.3371, allocations: 0 / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3371, allocations: 3.984 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.3373, allocations: 237.5 kB / 1.095 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3373, allocations: 0 / 1.095 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.3374, allocations: 16 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3374, allocations: 0 / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3374, allocations: 11.92 kB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3374, allocations: 0 / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3374, allocations: 0 / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.3378, allocations: 224.7 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.3378, allocations: 85.02 kB / 1.096 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.3379, allocations: 4 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.3379, allocations: 4 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.338, allocations: 7.984 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.338, allocations: 11.98 kB / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001432/0.3381, allocations: 152.2 kB / 1.096 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.21e-07/0.3382, allocations: 4 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002663/0.3384, allocations: 47.89 kB / 1.096 GB, free: 8.992 MB / 0.8575 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.001138/0.3396, allocations: 452.4 kB / 1.096 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002884/0.3399, allocations: 135.8 kB / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3399, allocations: 0 / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.34, allocations: 65.66 kB / 1.097 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.3403, allocations: 37 kB / 1.097 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.3409, allocations: 295.1 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3412, allocations: 0.7164 MB / 1.098 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000114/0.3413, allocations: 45.52 kB / 1.098 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.3414, allocations: 31.42 kB / 1.098 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.3414, allocations: 0 / 1.098 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of Templates: time 0.006742/0.3482, allocations: 2.574 MB / 1.1 GB, free: 4.824 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches