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.001391/0.001392, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.001358/0.001358, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001442, allocations: 64.73 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3307, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.004323/0.3351, allocations: 1.643 MB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002771/0.3379, allocations: 1.483 MB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.3381, allocations: 0 / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.3387, allocations: 55.73 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.3391, allocations: 59.7 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.3395, allocations: 101 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.3398, allocations: 171.6 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.853e-05/0.3399, allocations: 12.22 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.34, allocations: 63.77 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.3402, allocations: 67.75 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.3403, allocations: 8 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.3405, allocations: 67.97 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.555e-05/0.3406, allocations: 43.83 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.893e-05/0.3407, allocations: 63.59 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.3411, allocations: 195.7 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3411, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.266e-06/0.3411, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.3412, allocations: 4 kB / 1.068 GB, free: 10.98 MB / 0.8419 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.0009009/0.3421, allocations: 462.6 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3421, allocations: 8.031 kB / 1.069 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.673e-05/0.3422, allocations: 16.75 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.3427, allocations: 263.8 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.3427, allocations: 8.375 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.3427, allocations: 8.125 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.343, allocations: 115.3 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3431, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.3431, allocations: 4 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3431, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.3433, allocations: 143.8 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.3436, allocations: 229.5 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.344, allocations: 174.4 kB / 1.07 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3441, allocations: 60.78 kB / 1.07 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.3442, allocations: 7.984 kB / 1.07 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.3445, allocations: 111.4 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.3445, allocations: 0 / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0004913/0.345, allocations: 222.5 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.345, allocations: 77.11 kB / 1.07 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.3452, allocations: 208.1 kB / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.3453, allocations: 33.7 kB / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.3454, allocations: 108.1 kB / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.3454, allocations: 47.38 kB / 1.07 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.3455, allocations: 33.7 kB / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3456, allocations: 326.8 kB / 1.071 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3457, allocations: 51.97 kB / 1.071 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3459, allocations: 74.55 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.3461, allocations: 140.4 kB / 1.071 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3461, allocations: 0 / 1.071 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003211/0.3464, allocations: 193.4 kB / 1.071 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3464, allocations: 4 kB / 1.071 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3465, allocations: 0 / 1.071 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3465, allocations: 0 / 1.071 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3466, allocations: 39.98 kB / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3466, allocations: 0 / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.3467, allocations: 7.906 kB / 1.071 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3467, allocations: 4 kB / 1.071 GB, free: 7.613 MB / 0.8419 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.0001229/0.3468, allocations: 139.7 kB / 1.071 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.3469, allocations: 15.81 kB / 1.071 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.812e-05/0.347, allocations: 33.5 kB / 1.071 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.347, allocations: 3.938 kB / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.347, allocations: 0 / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.347, allocations: 4 kB / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.3472, allocations: 249.3 kB / 1.072 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3472, allocations: 0 / 1.072 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-05/0.3473, allocations: 16 kB / 1.072 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3473, allocations: 0 / 1.072 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3473, allocations: 7.984 kB / 1.072 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3473, allocations: 4 kB / 1.072 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3473, allocations: 0 / 1.072 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.3477, allocations: 212.8 kB / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.3478, allocations: 92.86 kB / 1.072 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.3478, allocations: 8 kB / 1.072 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.312e-05/0.3478, allocations: 0 / 1.072 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.3479, allocations: 19.92 kB / 1.072 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.3479, allocations: 7.984 kB / 1.072 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001326/0.3481, allocations: 152.2 kB / 1.072 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3481, allocations: 0 / 1.072 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002598/0.3483, allocations: 35.98 kB / 1.072 GB, free: 6.539 MB / 0.8419 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.001096/0.3494, allocations: 452.8 kB / 1.073 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.3498, allocations: 135 kB / 1.073 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3498, allocations: 0 / 1.073 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3499, allocations: 71.95 kB / 1.073 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.3502, allocations: 39.91 kB / 1.073 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006291/0.3509, allocations: 320.8 kB / 1.073 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3512, allocations: 0.7202 MB / 1.074 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.3513, allocations: 31.42 kB / 1.074 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of SimCode: time 4.2e-07/0.3513, allocations: 0 / 1.074 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of Templates: time 0.005682/0.357, allocations: 2.813 MB / 1.077 GB, free: 2.129 MB / 0.8419 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/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