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.001665/0.001665, allocations: 108 kB / 15.6 MB, free: 132 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.002015/0.002015, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.516/1.516, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.885/2.885, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7462/0.7481, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00363/0.7518, allocations: 1.638 MB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002457/0.7543, allocations: 1.487 MB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.481e-05/0.7544, allocations: 7.938 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.7549, allocations: 55.75 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.7551, allocations: 47.7 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.7554, allocations: 102.6 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.7557, allocations: 167.6 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.657e-05/0.7558, allocations: 8.234 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.7559, allocations: 71.77 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.7561, allocations: 63.75 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.7561, allocations: 8 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.7563, allocations: 71.95 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.7564, allocations: 47.83 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.7565, allocations: 55.67 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.7568, allocations: 193.4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.7568, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7569, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.7569, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 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.0008137/0.7577, allocations: 466.6 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.7577, allocations: 15.97 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.894e-05/0.7578, allocations: 12.75 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.7582, allocations: 259.9 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.7582, allocations: 4.375 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.7583, allocations: 16.12 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.7585, allocations: 123.2 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7585, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.7586, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.7586, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.7588, allocations: 143.8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.7592, allocations: 237.4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.7596, allocations: 174.5 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.7597, allocations: 60.72 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.7597, allocations: 7.984 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003272/0.7601, allocations: 115.3 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.7601, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005355/0.7606, allocations: 222.2 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.7607, allocations: 81.11 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.761, allocations: 198.6 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.761, allocations: 37.7 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.7611, allocations: 108.1 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.7612, allocations: 43.45 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.7612, allocations: 33.7 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.7614, allocations: 330.8 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.7615, allocations: 43.98 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.7617, allocations: 76.66 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.7619, allocations: 120.8 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.7619, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003453/0.7623, allocations: 201.3 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.7623, allocations: 5.984 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7623, allocations: 3.938 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.7623, allocations: 4 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.7624, allocations: 27.92 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.7625, allocations: 4.062 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.201e-05/0.7625, allocations: 19.83 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.7626, allocations: 4 kB / 1.024 GB, free: 11.08 MB / 0.7794 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.0001588/0.7627, allocations: 137.8 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.7628, allocations: 11.81 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.029e-05/0.7628, allocations: 29.52 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.7628, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7628, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.7629, allocations: 4 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.7632, allocations: 241.5 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.7632, allocations: 0 / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.7632, allocations: 23.92 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.7632, allocations: 0 / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.7633, allocations: 4 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7633, allocations: 0 / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.704e-05/0.7633, allocations: 7.984 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.7637, allocations: 208.8 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-05/0.7638, allocations: 100.8 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.7638, allocations: 4 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.955e-05/0.7639, allocations: 8 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.7639, allocations: 7.984 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.764, allocations: 7.938 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001594/0.7641, allocations: 156.2 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7641, allocations: 3.938 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002721/0.7644, allocations: 36 kB / 1.025 GB, free: 10.01 MB / 0.7794 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.001703/0.7661, allocations: 458.1 kB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.7665, allocations: 131.9 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7665, allocations: 4 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.7666, allocations: 63.97 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.7669, allocations: 47.98 kB / 1.026 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.7675, allocations: 294 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.7679, allocations: 0.7241 MB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.7681, allocations: 41.52 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.68e-05/0.7681, allocations: 31.42 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.7681, allocations: 4 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of Templates: time 0.006518/0.7747, allocations: 2.496 MB / 1.029 GB, free: 5.898 MB / 0.7794 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=400 -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