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.00111/0.00111, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.00842/0.008421, allocations: 169.1 kB / 16.26 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.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.664/2.664, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004084, allocations: 8.281 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7493/0.7497, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002409/0.7522, allocations: 1.36 MB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002227/0.7544, allocations: 1.436 MB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.7545, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005095/0.7551, allocations: 51.83 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.7553, allocations: 51.83 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.7556, allocations: 95.64 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.7559, allocations: 147.6 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.7559, allocations: 4.234 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.756, allocations: 59.77 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.7562, allocations: 68.48 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.7563, allocations: 12 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.7564, allocations: 55.98 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.447e-05/0.7565, allocations: 39.83 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.29e-05/0.7566, allocations: 89.28 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.7569, allocations: 181.4 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7569, allocations: 4 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7569, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.7569, allocations: 0 / 1.027 GB, free: 12.21 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.0006422/0.7576, allocations: 438.8 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.7576, allocations: 12.03 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.7577, allocations: 16.75 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.7581, allocations: 271.8 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.7581, allocations: 4.375 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.7581, allocations: 12.12 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.7584, allocations: 111.3 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.7584, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.7584, allocations: 3.984 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.7584, allocations: 4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.7586, allocations: 139.9 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.7589, allocations: 237.5 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.7593, allocations: 170.5 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.7594, allocations: 52.78 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.7595, allocations: 11.92 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.7597, allocations: 111.4 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.7598, allocations: 0 / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004968/0.7603, allocations: 221.4 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.7603, allocations: 81.11 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.7606, allocations: 202.6 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.7606, allocations: 33.7 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.7607, allocations: 112.1 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.663e-05/0.7607, allocations: 47.44 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.7608, allocations: 21.7 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.7609, allocations: 326.8 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.634e-05/0.761, allocations: 43.98 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.7611, allocations: 76.94 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.7613, allocations: 129.3 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.7614, allocations: 0 / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003424/0.7617, allocations: 197.4 kB / 1.03 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.7617, allocations: 9.812 kB / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.7618, allocations: 0 / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.7618, allocations: 3.938 kB / 1.03 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.7619, allocations: 27.98 kB / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.7619, allocations: 0 / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.762, allocations: 15.92 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.762, allocations: 12.02 kB / 1.03 GB, free: 8.867 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.0001465/0.7622, allocations: 134.3 kB / 1.03 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.7622, allocations: 19.75 kB / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.699e-05/0.7623, allocations: 29.52 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7623, allocations: 0 / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.7623, allocations: 0 / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7623, allocations: 0 / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.7625, allocations: 245.4 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7625, allocations: 0 / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.7626, allocations: 23.98 kB / 1.03 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7626, allocations: 0 / 1.03 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.7626, allocations: 4 kB / 1.03 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.7627, allocations: 4 kB / 1.03 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7627, allocations: 0 / 1.03 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.763, allocations: 216.8 kB / 1.03 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/0.7631, allocations: 96.84 kB / 1.03 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.7631, allocations: 8 kB / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.865e-05/0.7632, allocations: 8 kB / 1.03 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.7632, allocations: 7.984 kB / 1.03 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.7632, allocations: 11.98 kB / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001395/0.7634, allocations: 156.2 kB / 1.031 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7634, allocations: 0 / 1.031 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002579/0.7637, allocations: 39.98 kB / 1.031 GB, free: 7.789 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.001129/0.7648, allocations: 453 kB / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.7651, allocations: 127.9 kB / 1.031 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7651, allocations: 0 / 1.031 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.7652, allocations: 59.91 kB / 1.031 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.7655, allocations: 35.78 kB / 1.031 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.7661, allocations: 330.2 kB / 1.032 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.7664, allocations: 0.7244 MB / 1.032 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.7666, allocations: 53.48 kB / 1.032 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.7666, allocations: 31.36 kB / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.7666, allocations: 0 / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of Templates: time 0.005946/0.7726, allocations: 2.382 MB / 1.035 GB, free: 3.762 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=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