Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 111.6 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002086/0.002086, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.014/3.014, allocations: 489.3 MB / 0.7687 GB, free: 3.742 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.89 kB / 1.103 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.095, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2436/1.339, allocations: 173.4 MB / 1.432 GB, free: 6.328 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004126/1.343, allocations: 1.836 MB / 1.434 GB, free: 4.832 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006272/1.344, allocations: 17.22 kB / 1.434 GB, free: 4.824 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009252/1.345, allocations: 221.7 kB / 1.434 GB, free: 4.637 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002203/1.347, allocations: 0.7547 MB / 1.435 GB, free: 4.055 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002409/1.35, allocations: 0.8332 MB / 1.435 GB, free: 3.445 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001387/1.351, allocations: 0.8448 MB / 1.436 GB, free: 2.953 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005655/1.352, allocations: 294.3 kB / 1.437 GB, free: 2.777 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/1.353, allocations: 0.5557 MB / 1.437 GB, free: 2.449 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/1.353, allocations: 265.5 kB / 1.437 GB, free: 2.293 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/1.353, allocations: 30.83 kB / 1.437 GB, free: 2.289 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/1.356, allocations: 1.096 MB / 1.438 GB, free: 1.668 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001741/1.356, allocations: 122.3 kB / 1.439 GB, free: 1.586 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002686/1.356, allocations: 205.6 kB / 1.439 GB, free: 1.461 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/1.358, allocations: 0.9185 MB / 1.44 GB, free: 0.918 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.358, allocations: 4 kB / 1.44 GB, free: 0.9141 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.433e-06/1.358, allocations: 4.812 kB / 1.44 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.358, allocations: 0 / 1.44 GB, free: 0.9102 MB / 1.123 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.001822/1.36, allocations: 0.7863 MB / 1.44 GB, free: 244 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/1.36, allocations: 8.312 kB / 1.44 GB, free: 244 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/1.361, allocations: 161.7 kB / 1.441 GB, free: 168 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/1.362, allocations: 376.2 kB / 1.441 GB, free: 15.83 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/1.362, allocations: 19.56 kB / 1.441 GB, free: 15.82 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/1.362, allocations: 25.88 kB / 1.441 GB, free: 15.81 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/1.362, allocations: 397.3 kB / 1.441 GB, free: 15.55 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/1.363, allocations: 0 / 1.441 GB, free: 15.55 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/1.363, allocations: 14.75 kB / 1.441 GB, free: 15.54 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/1.363, allocations: 20.86 kB / 1.441 GB, free: 15.53 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/1.363, allocations: 343.2 kB / 1.442 GB, free: 15.36 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/1.366, allocations: 1.776 MB / 1.443 GB, free: 13.75 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/1.366, allocations: 391.7 kB / 1.444 GB, free: 13.43 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/1.367, allocations: 137.1 kB / 1.444 GB, free: 13.37 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005938/1.367, allocations: 302.4 kB / 1.444 GB, free: 13.06 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/1.367, allocations: 36.97 kB / 1.444 GB, free: 13.02 MB / 1.139 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/1.367, allocations: 0 / 1.444 GB, free: 13.02 MB / 1.139 GB Notification: Performance of matching and sorting (n=20): time 0.001027/1.368, allocations: 390.3 kB / 1.445 GB, free: 12.82 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/1.368, allocations: 57.09 kB / 1.445 GB, free: 12.75 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/1.369, allocations: 357.9 kB / 1.445 GB, free: 12.53 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/1.369, allocations: 31.33 kB / 1.445 GB, free: 12.49 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/1.369, allocations: 200 kB / 1.445 GB, free: 12.31 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.728e-05/1.369, allocations: 76.06 kB / 1.445 GB, free: 12.25 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.686e-05/1.369, allocations: 48.72 kB / 1.445 GB, free: 12.21 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001987/1.369, allocations: 350.2 kB / 1.446 GB, free: 11.87 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/1.37, allocations: 87.25 kB / 1.446 GB, free: 11.83 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/1.37, allocations: 156.2 kB / 1.446 GB, free: 11.71 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/1.371, allocations: 261.5 kB / 1.446 GB, free: 11.54 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.371, allocations: 1.406 kB / 1.446 GB, free: 11.54 MB / 1.139 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006387/1.371, allocations: 309.2 kB / 1.447 GB, free: 11.24 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.371, allocations: 4 kB / 1.447 GB, free: 11.24 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.371, allocations: 4 kB / 1.447 GB, free: 11.23 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.371, allocations: 192 / 1.447 GB, free: 11.23 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/1.372, allocations: 55.91 kB / 1.447 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.372, allocations: 0 / 1.447 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/1.372, allocations: 35.77 kB / 1.447 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/1.372, allocations: 11.98 kB / 1.447 GB, free: 11.13 MB / 1.139 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.0001812/1.372, allocations: 161.7 kB / 1.447 GB, free: 10.96 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.588e-05/1.372, allocations: 39.77 kB / 1.447 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006724/1.373, allocations: 296.9 kB / 1.447 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.373, allocations: 4 kB / 1.447 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.373, allocations: 0 / 1.447 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.373, allocations: 48 / 1.447 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/1.374, allocations: 0.8974 MB / 1.448 GB, free: 9.641 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.374, allocations: 4 kB / 1.448 GB, free: 9.637 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/1.375, allocations: 52.25 kB / 1.448 GB, free: 9.586 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.375, allocations: 4 kB / 1.448 GB, free: 9.582 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/1.375, allocations: 4 kB / 1.448 GB, free: 9.578 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/1.375, allocations: 11.97 kB / 1.448 GB, free: 9.566 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.375, allocations: 4 kB / 1.448 GB, free: 9.562 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006884/1.375, allocations: 452.5 kB / 1.449 GB, free: 9.07 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/1.375, allocations: 136.8 kB / 1.449 GB, free: 8.918 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/1.376, allocations: 12 kB / 1.449 GB, free: 8.906 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/1.376, allocations: 11.98 kB / 1.449 GB, free: 8.895 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.259e-05/1.376, allocations: 23.95 kB / 1.449 GB, free: 8.871 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/1.376, allocations: 11.94 kB / 1.449 GB, free: 8.859 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003165/1.376, allocations: 263.2 kB / 1.449 GB, free: 8.602 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.376, allocations: 0 / 1.449 GB, free: 8.602 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004914/1.377, allocations: 99.81 kB / 1.449 GB, free: 8.504 MB / 1.139 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.0004837/1.377, allocations: 179.1 kB / 1.449 GB, free: 8.324 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0006156/1.378, allocations: 237.4 kB / 1.449 GB, free: 8.094 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.378, allocations: 0 / 1.449 GB, free: 8.094 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002864/1.378, allocations: 132.8 kB / 1.45 GB, free: 7.965 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.379, allocations: 208.8 kB / 1.45 GB, free: 7.766 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/1.38, allocations: 0.6759 MB / 1.45 GB, free: 7.023 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/1.381, allocations: 0.7995 MB / 1.451 GB, free: 6.199 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/1.381, allocations: 35.42 kB / 1.451 GB, free: 6.164 MB / 1.139 GB Notification: Performance of SimCode: time 4.91e-07/1.381, allocations: 0 / 1.451 GB, free: 6.164 MB / 1.139 GB Notification: Performance of Templates: time 0.01029/1.391, allocations: 5.902 MB / 1.457 GB, free: 332 kB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.924239421030506]