Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.001484/0.001484, allocations: 79.73 kB / 19.76 MB, free: 1.879 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.001665/0.001665, allocations: 158.2 kB / 23.01 MB, free: 4.574 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.496/1.496, allocations: 177.2 MB / 203.4 MB, free: 8.875 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.804/2.804, allocations: 377.9 MB / 0.6228 GB, free: 12.63 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [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.002155/0.002155, allocations: 65.94 kB / 0.9819 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.121, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2133/1.334, allocations: 153.1 MB / 1.303 GB, free: 10.23 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003908/1.338, allocations: 1.76 MB / 1.305 GB, free: 8.934 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003887/1.339, allocations: 21.56 kB / 1.305 GB, free: 8.922 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008506/1.339, allocations: 219.2 kB / 1.305 GB, free: 8.738 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002248/1.342, allocations: 0.7746 MB / 1.306 GB, free: 8.152 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002384/1.344, allocations: 0.8454 MB / 1.307 GB, free: 7.539 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00145/1.345, allocations: 0.8502 MB / 1.308 GB, free: 7.047 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005013/1.346, allocations: 233.1 kB / 1.308 GB, free: 6.891 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/1.347, allocations: 0.6008 MB / 1.309 GB, free: 6.531 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/1.348, allocations: 257.1 kB / 1.309 GB, free: 6.387 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.573e-05/1.348, allocations: 30.97 kB / 1.309 GB, free: 6.383 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/1.35, allocations: 0.8938 MB / 1.31 GB, free: 5.879 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/1.35, allocations: 118.4 kB / 1.31 GB, free: 5.801 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002707/1.35, allocations: 177.5 kB / 1.31 GB, free: 5.703 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/1.352, allocations: 0.8782 MB / 1.311 GB, free: 5.191 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.352, allocations: 1.156 kB / 1.311 GB, free: 5.191 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.213e-06/1.352, allocations: 0 / 1.311 GB, free: 5.191 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.215e-06/1.352, allocations: 0 / 1.311 GB, free: 5.191 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001893/1.354, allocations: 0.7091 MB / 1.312 GB, free: 4.617 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/1.354, allocations: 9.25 kB / 1.312 GB, free: 4.617 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/1.355, allocations: 168.5 kB / 1.312 GB, free: 4.535 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007401/1.355, allocations: 304.8 kB / 1.312 GB, free: 4.277 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/1.355, allocations: 19.56 kB / 1.312 GB, free: 4.27 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/1.356, allocations: 29.92 kB / 1.312 GB, free: 4.258 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007866/1.356, allocations: 399.8 kB / 1.312 GB, free: 3.992 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/1.356, allocations: 5.25 kB / 1.312 GB, free: 3.988 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/1.356, allocations: 10.41 kB / 1.312 GB, free: 3.98 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/1.356, allocations: 16.59 kB / 1.312 GB, free: 3.977 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007737/1.357, allocations: 347.4 kB / 1.313 GB, free: 3.809 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/1.359, allocations: 1.225 MB / 1.314 GB, free: 2.828 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/1.36, allocations: 228.2 kB / 1.314 GB, free: 2.703 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/1.36, allocations: 135.5 kB / 1.314 GB, free: 2.633 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004801/1.361, allocations: 73.11 kB / 1.314 GB, free: 2.605 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/1.361, allocations: 32.78 kB / 1.314 GB, free: 2.566 MB / 1.154 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/1.361, allocations: 0 / 1.314 GB, free: 2.566 MB / 1.154 GB Notification: Performance of matching and sorting (n=20): time 0.001055/1.362, allocations: 383.1 kB / 1.315 GB, free: 2.371 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/1.362, allocations: 58.72 kB / 1.315 GB, free: 2.305 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/1.362, allocations: 264 kB / 1.315 GB, free: 2.125 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/1.362, allocations: 31.8 kB / 1.315 GB, free: 2.09 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/1.362, allocations: 207.5 kB / 1.315 GB, free: 1.902 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.194e-05/1.362, allocations: 77.02 kB / 1.315 GB, free: 1.836 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.124e-05/1.362, allocations: 44.98 kB / 1.315 GB, free: 1.805 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.363, allocations: 340.8 kB / 1.316 GB, free: 1.469 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/1.363, allocations: 87.44 kB / 1.316 GB, free: 1.43 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/1.363, allocations: 239.4 kB / 1.316 GB, free: 1.219 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004939/1.364, allocations: 251.4 kB / 1.316 GB, free: 1.059 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.364, allocations: 5.344 kB / 1.316 GB, free: 1.055 MB / 1.154 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006283/1.364, allocations: 301.9 kB / 1.317 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.364, allocations: 5.125 kB / 1.317 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.364, allocations: 2.531 kB / 1.317 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.364, allocations: 6 kB / 1.317 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/1.365, allocations: 49.28 kB / 1.317 GB, free: 0.875 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.365, allocations: 2.438 kB / 1.317 GB, free: 0.875 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/1.365, allocations: 29.06 kB / 1.317 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/1.365, allocations: 16.92 kB / 1.317 GB, free: 0.8477 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002028/1.365, allocations: 162.2 kB / 1.317 GB, free: 0.7031 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/1.365, allocations: 32.62 kB / 1.317 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/1.366, allocations: 288.5 kB / 1.317 GB, free: 0.5078 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.366, allocations: 2.281 kB / 1.317 GB, free: 0.5078 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.366, allocations: 1.156 kB / 1.317 GB, free: 0.5078 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.366, allocations: 4.031 kB / 1.317 GB, free: 0.5039 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/1.367, allocations: 0.803 MB / 1.318 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.367, allocations: 2.812 kB / 1.318 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/1.368, allocations: 42.94 kB / 1.318 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/1.368, allocations: 8.469 kB / 1.318 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/1.368, allocations: 12.42 kB / 1.318 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/1.368, allocations: 7.219 kB / 1.318 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.368, allocations: 3.344 kB / 1.318 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/1.368, allocations: 433.1 kB / 1.318 GB, free: 15.52 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/1.368, allocations: 54.09 kB / 1.319 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/1.368, allocations: 16.47 kB / 1.319 GB, free: 15.47 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/1.369, allocations: 18.89 kB / 1.319 GB, free: 15.46 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/1.369, allocations: 16.14 kB / 1.319 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/1.369, allocations: 15.92 kB / 1.319 GB, free: 15.44 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002263/1.369, allocations: 188.6 kB / 1.319 GB, free: 15.31 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.369, allocations: 0 / 1.319 GB, free: 15.31 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005412/1.37, allocations: 109.6 kB / 1.319 GB, free: 15.29 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0003123/1.37, allocations: 163.9 kB / 1.319 GB, free: 15.16 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006207/1.37, allocations: 230.4 kB / 1.319 GB, free: 15.06 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.37, allocations: 5.312 kB / 1.319 GB, free: 15.05 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/1.371, allocations: 124.6 kB / 1.319 GB, free: 14.94 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008764/1.372, allocations: 143.6 kB / 1.319 GB, free: 14.8 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/1.373, allocations: 0.6333 MB / 1.32 GB, free: 14.1 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/1.373, allocations: 193.1 kB / 1.32 GB, free: 13.9 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002787/1.373, allocations: 82.91 kB / 1.32 GB, free: 13.82 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.09e-05/1.373, allocations: 28.5 kB / 1.32 GB, free: 13.79 MB / 1.17 GB Notification: Performance of SimCode: time 5.21e-07/1.373, allocations: 0 / 1.32 GB, free: 13.79 MB / 1.17 GB Notification: Performance of Templates: time 0.013/1.386, allocations: 5.752 MB / 1.326 GB, free: 8.219 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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: 9.718001522007398]