Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 216.2 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.847/2.847, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 66.58 kB / 1.117 GB, free: 40.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3376, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003552/0.3412, allocations: 1.682 MB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002902/0.3441, allocations: 1.743 MB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.3442, allocations: 3.938 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.3447, allocations: 67.67 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.345, allocations: 91.59 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.3452, allocations: 75.69 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.3455, allocations: 171.7 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.949e-05/0.3456, allocations: 15.92 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.3458, allocations: 75.7 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.346, allocations: 71.78 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.346, allocations: 12 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.3463, allocations: 111.9 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.345e-05/0.3464, allocations: 47.83 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.998e-05/0.3465, allocations: 63.59 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.3469, allocations: 251.7 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3469, allocations: 0 / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3469, allocations: 0 / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.3469, allocations: 4 kB / 1.288 GB, free: 7.191 MB / 0.9825 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.0007409/0.3477, allocations: 421 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.3477, allocations: 12.03 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.3478, allocations: 34.73 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.3479, allocations: 16.84 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.3483, allocations: 203.2 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3483, allocations: 4.375 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.3484, allocations: 15.88 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.3486, allocations: 123.2 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3486, allocations: 3.938 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.3487, allocations: 4 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3487, allocations: 4 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.3489, allocations: 135.9 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.3492, allocations: 204.6 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.3496, allocations: 166.4 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3497, allocations: 52.83 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.3498, allocations: 7.984 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.35, allocations: 107.2 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.35, allocations: 0 / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005285/0.3505, allocations: 229.5 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.3506, allocations: 81.11 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.3509, allocations: 223 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3509, allocations: 29.7 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.351, allocations: 112.2 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/0.351, allocations: 55.52 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.3511, allocations: 33.7 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3513, allocations: 326.8 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3514, allocations: 51.97 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.3515, allocations: 74.55 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.3517, allocations: 121.6 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3517, allocations: 3.938 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003364/0.3521, allocations: 193.6 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3521, allocations: 4 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3521, allocations: 4.062 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3521, allocations: 0 / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3522, allocations: 31.92 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3522, allocations: 0 / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.093e-05/0.3523, allocations: 15.95 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.3523, allocations: 4 kB / 1.291 GB, free: 3.922 MB / 0.9825 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.0001401/0.3525, allocations: 135.5 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.3525, allocations: 19.86 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004542/0.353, allocations: 232 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.353, allocations: 4 kB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.353, allocations: 0 / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.353, allocations: 0 / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.3532, allocations: 216.6 kB / 1.291 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3532, allocations: 0 / 1.291 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.609e-05/0.3533, allocations: 23.92 kB / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3533, allocations: 0 / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.3533, allocations: 11.98 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3533, allocations: 0 / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3533, allocations: 0 / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.3537, allocations: 221.6 kB / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.3537, allocations: 15.84 kB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.3537, allocations: 8 kB / 1.292 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.469e-05/0.3538, allocations: 3.984 kB / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.3538, allocations: 19.92 kB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.3538, allocations: 4 kB / 1.292 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001673/0.354, allocations: 159.2 kB / 1.292 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.354, allocations: 4 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000303/0.3543, allocations: 55.86 kB / 1.292 GB, free: 2.734 MB / 0.9825 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * 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.002421/0.3567, allocations: 1.148 MB / 1.293 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003196/0.3571, allocations: 115.9 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3571, allocations: 4.062 kB / 1.293 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.3572, allocations: 55.97 kB / 1.293 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3575, allocations: 31.98 kB / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.3601, allocations: 1.994 MB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.3605, allocations: 0.7164 MB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.3607, allocations: 49.59 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.3608, allocations: 63.41 kB / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.3608, allocations: 0 / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.398, allocations: 5.378 MB / 1.301 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.87, allocations: 6.109 kB / 1.301 GB, free: 9.316 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.68317080498673]