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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001458/0.001458, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001801/0.001801, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.365/1.365, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.629/2.629, allocations: 461.8 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002486/0.002486, allocations: 66.38 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3307, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00353/0.3342, allocations: 1.711 MB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002214/0.3365, allocations: 1.46 MB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.3366, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.3371, allocations: 51.83 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.3372, allocations: 43.78 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.3375, allocations: 98.81 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.3378, allocations: 147.7 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.3378, allocations: 8.219 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3379, allocations: 59.7 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.3381, allocations: 71.75 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.3381, allocations: 4 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.3383, allocations: 59.97 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.3384, allocations: 43.83 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.252e-05/0.3385, allocations: 55.59 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.3388, allocations: 183.8 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3388, allocations: 3.984 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3388, allocations: 3.938 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3388, allocations: 0 / 1.056 GB, free: 4.844 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.000653/0.3395, allocations: 466.7 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3395, allocations: 12.03 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.3396, allocations: 12.75 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.3401, allocations: 259.9 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.3401, allocations: 12.38 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.3401, allocations: 8.125 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.3404, allocations: 119.2 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3404, allocations: 4 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.3404, allocations: 7.984 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3404, allocations: 0 / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.3407, allocations: 143.8 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.341, allocations: 225.5 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.3414, allocations: 166.6 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.3415, allocations: 64.77 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.3415, allocations: 7.984 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.3418, allocations: 111.3 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 4.899e-06/0.3418, allocations: 0 / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005153/0.3424, allocations: 224.5 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/0.3425, allocations: 85.09 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3427, allocations: 200.1 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3427, allocations: 37.7 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.3428, allocations: 108.1 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.3428, allocations: 43.5 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.3429, allocations: 33.66 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.343, allocations: 334.8 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3431, allocations: 43.98 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.3433, allocations: 70.55 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.3435, allocations: 129.7 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3435, allocations: 0 / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003245/0.3438, allocations: 193.3 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3439, allocations: 4 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3439, allocations: 0 / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3439, allocations: 7.984 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.344, allocations: 27.98 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.344, allocations: 4.031 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.832e-05/0.3441, allocations: 11.89 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3441, allocations: 4 kB / 1.059 GB, free: 1.477 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.0001475/0.3443, allocations: 147.2 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.3443, allocations: 11.81 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.46e-05/0.3444, allocations: 29.52 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3444, allocations: 0 / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3444, allocations: 0 / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3444, allocations: 0 / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.3446, allocations: 249.4 kB / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3446, allocations: 3.938 kB / 1.059 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/0.3447, allocations: 19.98 kB / 1.059 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3447, allocations: 0 / 1.059 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3447, allocations: 8 kB / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3447, allocations: 0 / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3447, allocations: 4 kB / 1.059 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.3451, allocations: 208.8 kB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.3452, allocations: 92.92 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.3452, allocations: 11.98 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.3453, allocations: 4 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.3453, allocations: 11.98 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.3453, allocations: 7.938 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001326/0.3455, allocations: 155 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3455, allocations: 0 / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002531/0.3457, allocations: 36 kB / 1.06 GB, free: 412 kB / 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.001065/0.3468, allocations: 457.8 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.3471, allocations: 125.4 kB / 1.061 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3471, allocations: 0 / 1.061 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.3473, allocations: 63.91 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.3475, allocations: 43.31 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.3481, allocations: 328.6 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.3484, allocations: 0.7205 MB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.3486, allocations: 53.48 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.302e-05/0.3487, allocations: 35.36 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3487, allocations: 4 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of Templates: time 0.005627/0.3543, allocations: 2.394 MB / 1.064 GB, free: 12.37 MB / 0.8262 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 -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/jenkins/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