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.001405/0.001405, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.00159/0.00159, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.502/1.502, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.62/2.62, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.59 kB / 0.8774 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3555, allocations: 153 MB / 1.027 GB, free: 2.113 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003342/0.3588, allocations: 1.664 MB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002176/0.361, allocations: 1.495 MB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.3611, allocations: 0 / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.3617, allocations: 47.77 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.3618, allocations: 63.67 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.3621, allocations: 103.6 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.3624, allocations: 167.6 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.3624, allocations: 12.22 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.279e-05/0.3625, allocations: 59.83 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.3627, allocations: 71.73 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.3627, allocations: 8 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.3629, allocations: 63.98 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.3629, allocations: 47.83 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.363, allocations: 59.59 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.3633, allocations: 195.4 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3633, allocations: 4 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3633, allocations: 0 / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3633, allocations: 0 / 1.031 GB, free: 14.05 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.0006357/0.364, allocations: 466.7 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.364, allocations: 8.031 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.3641, allocations: 20.73 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.3645, allocations: 263.8 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3645, allocations: 4.375 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.3645, allocations: 8.125 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.3648, allocations: 111.3 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3648, allocations: 4 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3648, allocations: 8 kB / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3648, allocations: 0 / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.3651, allocations: 143.8 kB / 1.032 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.3653, allocations: 229.5 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.3657, allocations: 170.6 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3658, allocations: 60.78 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.3658, allocations: 7.984 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.3661, allocations: 107.3 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.3661, allocations: 0 / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004938/0.3666, allocations: 228.3 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.3666, allocations: 77.11 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.3669, allocations: 204.4 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.3669, allocations: 33.64 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.367, allocations: 112.1 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.367, allocations: 47.38 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.3671, allocations: 33.7 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3672, allocations: 326.8 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.647e-05/0.3673, allocations: 47.97 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.3675, allocations: 86.48 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.3677, allocations: 121.7 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3677, allocations: 0 / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000309/0.368, allocations: 193.3 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.368, allocations: 8 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.368, allocations: 0 / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3681, allocations: 0 / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3682, allocations: 31.98 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3682, allocations: 4.062 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.3683, allocations: 7.906 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.3683, allocations: 4 kB / 1.034 GB, free: 10.69 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.0001233/0.3684, allocations: 155.5 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.3685, allocations: 15.81 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.63e-05/0.3685, allocations: 25.53 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3685, allocations: 3.938 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3685, allocations: 3.984 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3686, allocations: 4 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.3688, allocations: 233.5 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3688, allocations: 0 / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.3688, allocations: 16 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.3688, allocations: 7.984 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3689, allocations: 4 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3689, allocations: 0 / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3689, allocations: 7.984 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.3692, allocations: 220.5 kB / 1.034 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.3693, allocations: 85.02 kB / 1.034 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.3693, allocations: 8 kB / 1.034 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.33e-05/0.3694, allocations: 0 / 1.034 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.3694, allocations: 15.98 kB / 1.034 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.3695, allocations: 7.984 kB / 1.034 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001284/0.3696, allocations: 156.6 kB / 1.035 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3696, allocations: 0 / 1.035 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002486/0.3699, allocations: 35.98 kB / 1.035 GB, free: 9.613 MB / 0.8106 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.001126/0.371, allocations: 461.5 kB / 1.035 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.3713, allocations: 123.9 kB / 1.035 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3713, allocations: 0 / 1.035 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.3714, allocations: 67.97 kB / 1.035 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3717, allocations: 39.89 kB / 1.035 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.3723, allocations: 293 kB / 1.036 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.3726, allocations: 0.7163 MB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.3727, allocations: 45.52 kB / 1.036 GB, free: 8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.3728, allocations: 39.41 kB / 1.036 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of SimCode: time 2.8e-07/0.3728, allocations: 0 / 1.036 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of Templates: time 0.005789/0.3786, allocations: 2.501 MB / 1.039 GB, free: 5.512 MB / 0.8106 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 -s cvode -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