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.001572/0.001572, allocations: 78.48 kB / 19.18 MB, free: 2.527 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.001752/0.001752, allocations: 168 kB / 22.46 MB, free: 5.359 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.568/1.568, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.037/3.037, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.722e-05/3.956e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2259/0.2259, allocations: 153 MB / 1.131 GB, free: 2.43 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004065/0.23, allocations: 1.768 MB / 1.133 GB, free: 0.6602 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004277/0.2304, allocations: 23.81 kB / 1.133 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009301/0.2314, allocations: 214.5 kB / 1.133 GB, free: 436 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.8052/1.037, allocations: 0.783 MB / 1.134 GB, free: 45.65 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/1.039, allocations: 0.9066 MB / 1.134 GB, free: 45.65 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001445/1.041, allocations: 0.8461 MB / 1.135 GB, free: 45.65 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005137/1.041, allocations: 227.8 kB / 1.135 GB, free: 45.64 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/1.043, allocations: 0.6988 MB / 1.136 GB, free: 45.64 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/1.043, allocations: 233.5 kB / 1.136 GB, free: 45.64 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/1.043, allocations: 25.53 kB / 1.136 GB, free: 45.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/1.045, allocations: 0.9052 MB / 1.137 GB, free: 45.64 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/1.045, allocations: 132.3 kB / 1.137 GB, free: 45.64 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/1.045, allocations: 140.4 kB / 1.138 GB, free: 45.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/1.046, allocations: 0.9294 MB / 1.138 GB, free: 45.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.046, allocations: 1.203 kB / 1.138 GB, free: 45.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/1.046, allocations: 1 kB / 1.138 GB, free: 45.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.248e-06/1.046, allocations: 0 / 1.138 GB, free: 45.59 MB / 1.076 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.001694/1.048, allocations: 0.7063 MB / 1.139 GB, free: 45.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.048, allocations: 14.86 kB / 1.139 GB, free: 45.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/1.049, allocations: 156.5 kB / 1.139 GB, free: 45.13 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006227/1.05, allocations: 306.9 kB / 1.14 GB, free: 44.96 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/1.05, allocations: 21.78 kB / 1.14 GB, free: 44.96 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/1.05, allocations: 26.28 kB / 1.14 GB, free: 44.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/1.05, allocations: 394.5 kB / 1.14 GB, free: 44.88 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/1.05, allocations: 3.328 kB / 1.14 GB, free: 44.88 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/1.05, allocations: 10.64 kB / 1.14 GB, free: 44.88 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/1.051, allocations: 12.16 kB / 1.14 GB, free: 44.88 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006599/1.051, allocations: 347.8 kB / 1.14 GB, free: 44.88 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/1.053, allocations: 1.239 MB / 1.142 GB, free: 44.26 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/1.053, allocations: 221.5 kB / 1.142 GB, free: 44.24 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/1.053, allocations: 132.1 kB / 1.142 GB, free: 44.23 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004632/1.054, allocations: 76.59 kB / 1.142 GB, free: 44.23 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/1.054, allocations: 34 kB / 1.142 GB, free: 44.19 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/1.054, allocations: 0 / 1.142 GB, free: 44.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0009848/1.055, allocations: 377.9 kB / 1.142 GB, free: 44.14 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/1.055, allocations: 59.5 kB / 1.142 GB, free: 44.08 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/1.055, allocations: 273.1 kB / 1.143 GB, free: 43.97 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/1.055, allocations: 28.83 kB / 1.143 GB, free: 43.94 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/1.055, allocations: 207.7 kB / 1.143 GB, free: 43.81 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/1.055, allocations: 76.19 kB / 1.143 GB, free: 43.77 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-05/1.055, allocations: 46.14 kB / 1.143 GB, free: 43.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/1.056, allocations: 338.5 kB / 1.143 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/1.056, allocations: 91.72 kB / 1.143 GB, free: 43.44 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/1.056, allocations: 229.3 kB / 1.144 GB, free: 43.29 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/1.056, allocations: 254.8 kB / 1.144 GB, free: 43.23 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.056, allocations: 4.016 kB / 1.144 GB, free: 43.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005397/1.057, allocations: 295.5 kB / 1.144 GB, free: 43.18 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.057, allocations: 6.25 kB / 1.144 GB, free: 43.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.057, allocations: 7.344 kB / 1.144 GB, free: 43.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.057, allocations: 2.844 kB / 1.144 GB, free: 43.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/1.057, allocations: 47.73 kB / 1.144 GB, free: 43.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.057, allocations: 6.875 kB / 1.144 GB, free: 43.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/1.058, allocations: 30.09 kB / 1.144 GB, free: 43.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/1.058, allocations: 12.22 kB / 1.144 GB, free: 43.17 MB / 1.076 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.0001486/1.058, allocations: 159.8 kB / 1.144 GB, free: 43.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/1.058, allocations: 30.91 kB / 1.144 GB, free: 43.04 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006307/1.058, allocations: 296.4 kB / 1.145 GB, free: 42.99 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.058, allocations: 2.719 kB / 1.145 GB, free: 42.99 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.058, allocations: 6.844 kB / 1.145 GB, free: 42.99 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.058, allocations: 0.9062 kB / 1.145 GB, free: 42.99 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/1.06, allocations: 0.798 MB / 1.146 GB, free: 42.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.06, allocations: 2.969 kB / 1.146 GB, free: 42.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/1.06, allocations: 45.89 kB / 1.146 GB, free: 42.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.06, allocations: 2.656 kB / 1.146 GB, free: 42.66 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/1.06, allocations: 7.703 kB / 1.146 GB, free: 42.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.06, allocations: 8.391 kB / 1.146 GB, free: 42.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.06, allocations: 2.969 kB / 1.146 GB, free: 42.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/1.06, allocations: 440.7 kB / 1.146 GB, free: 42.42 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/1.06, allocations: 52.41 kB / 1.146 GB, free: 42.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/1.06, allocations: 3.125 kB / 1.146 GB, free: 42.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/1.061, allocations: 19.52 kB / 1.146 GB, free: 42.41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/1.061, allocations: 26.16 kB / 1.146 GB, free: 42.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/1.061, allocations: 8.875 kB / 1.146 GB, free: 42.4 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00018/1.061, allocations: 196.2 kB / 1.146 GB, free: 42.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.061, allocations: 0 / 1.146 GB, free: 42.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004499/1.061, allocations: 109 kB / 1.146 GB, free: 42.3 MB / 1.076 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.000279/1.062, allocations: 171.4 kB / 1.147 GB, free: 42.21 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005279/1.062, allocations: 225.9 kB / 1.147 GB, free: 42.21 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.062, allocations: 0 / 1.147 GB, free: 42.21 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/1.062, allocations: 124.2 kB / 1.147 GB, free: 42.21 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/1.063, allocations: 142.5 kB / 1.147 GB, free: 42.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009259/1.064, allocations: 0.6182 MB / 1.148 GB, free: 41.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/1.064, allocations: 197.8 kB / 1.148 GB, free: 41.76 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002484/1.065, allocations: 78.98 kB / 1.148 GB, free: 41.76 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.446e-05/1.065, allocations: 27.66 kB / 1.148 GB, free: 41.75 MB / 1.076 GB Notification: Performance of SimCode: time 4.3e-07/1.065, allocations: 0 / 1.148 GB, free: 41.75 MB / 1.076 GB Notification: Performance of Templates: time 0.01102/1.076, allocations: 5.706 MB / 1.154 GB, free: 41.43 MB / 1.076 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 -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/jenkins/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: 10.09210417792201]