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.007949/0.007949, allocations: 99.72 kB / 15.73 MB, free: 6.492 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.001542/0.001542, allocations: 203.9 kB / 16.68 MB, free: 6.375 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.68/2.68, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 67.89 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3448, allocations: 151.6 MB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003407/0.3483, allocations: 1.654 MB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.3504, allocations: 1.479 MB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.459e-05/0.3505, allocations: 3.938 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.351, allocations: 47.77 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.3512, allocations: 55.75 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.3514, allocations: 107.6 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.3517, allocations: 175.6 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.67e-05/0.3517, allocations: 4.234 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.663e-05/0.3518, allocations: 59.77 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.352, allocations: 67.75 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.3521, allocations: 8 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.3522, allocations: 71.95 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.3523, allocations: 43.89 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.54e-05/0.3524, allocations: 55.61 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.3527, allocations: 199.1 kB / 1.171 GB, free: 2.727 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3527, allocations: 8 kB / 1.171 GB, free: 2.719 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3527, allocations: 0 / 1.171 GB, free: 2.719 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.3527, allocations: 0 / 1.171 GB, free: 2.719 MB / 0.92 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.0006472/0.3534, allocations: 470.3 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3534, allocations: 8.031 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.3535, allocations: 20.8 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.3539, allocations: 264 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3539, allocations: 12.31 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.354, allocations: 8.125 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.3542, allocations: 115.3 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3542, allocations: 0 / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.3542, allocations: 8 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3542, allocations: 0 / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.3545, allocations: 135.9 kB / 1.172 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.3547, allocations: 237.5 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.3551, allocations: 174.5 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3552, allocations: 56.78 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.3553, allocations: 15.95 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.3555, allocations: 110.9 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.3555, allocations: 0 / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0004835/0.356, allocations: 229.5 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.3561, allocations: 77.11 kB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.3563, allocations: 202.6 kB / 1.173 GB, free: 424 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.3563, allocations: 29.7 kB / 1.173 GB, free: 388 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.3564, allocations: 112.1 kB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.3564, allocations: 47.58 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.3565, allocations: 33.7 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3567, allocations: 330.8 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.522e-05/0.3568, allocations: 51.91 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.3569, allocations: 76.38 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.3571, allocations: 133.6 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3571, allocations: 0 / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003025/0.3574, allocations: 190.6 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3574, allocations: 8.062 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3574, allocations: 0 / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3575, allocations: 0 / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3576, allocations: 31.92 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3576, allocations: 112 / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.3577, allocations: 11.94 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.3577, allocations: 4 kB / 1.174 GB, free: 15.33 MB / 0.9356 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.000118/0.3578, allocations: 137.7 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.3578, allocations: 23.86 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.615e-05/0.3579, allocations: 29.52 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3579, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3579, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3579, allocations: 3.938 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.3581, allocations: 241.5 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3581, allocations: 4 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.3582, allocations: 12 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3582, allocations: 4 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3582, allocations: 3.984 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3582, allocations: 4 kB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3582, allocations: 0 / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.3586, allocations: 220.9 kB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.3586, allocations: 89.02 kB / 1.174 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.3587, allocations: 8 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.129e-05/0.3587, allocations: 3.938 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.3588, allocations: 11.98 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.3588, allocations: 11.98 kB / 1.174 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001237/0.3589, allocations: 156.2 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3589, allocations: 0 / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000232/0.3592, allocations: 35.92 kB / 1.175 GB, free: 14.25 MB / 0.9356 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.001077/0.3603, allocations: 464.9 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002824/0.3606, allocations: 123.9 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3606, allocations: 0 / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.3607, allocations: 63.91 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.361, allocations: 46.94 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.3615, allocations: 290.7 kB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.3619, allocations: 0.7281 MB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.362, allocations: 45.52 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.362, allocations: 31.42 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.362, allocations: 0 / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of Templates: time 0.005606/0.3677, allocations: 2.519 MB / 1.179 GB, free: 10.13 MB / 0.9356 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 -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/jenkins/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