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.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.001883/0.001883, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.001991/0.001991, allocations: 177.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.626/1.626, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.58/3.58, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.593e-06/1.593e-06, allocations: 0 / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.324e-05/3.484e-05, allocations: 4.844 kB / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2713/0.2714, allocations: 169.8 MB / 1.043 GB, free: 12.31 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004789/0.2762, allocations: 1.858 MB / 1.045 GB, free: 10.45 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005439/0.2767, allocations: 15.88 kB / 1.045 GB, free: 10.43 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0009233/0.2776, allocations: 222.4 kB / 1.045 GB, free: 10.21 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.2802, allocations: 0.7966 MB / 1.046 GB, free: 9.41 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00291/0.2831, allocations: 0.8873 MB / 1.047 GB, free: 8.52 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.2846, allocations: 0.822 MB / 1.048 GB, free: 7.691 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005434/0.2852, allocations: 223.6 kB / 1.048 GB, free: 7.469 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.2869, allocations: 0.6893 MB / 1.049 GB, free: 6.777 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004441/0.2873, allocations: 239.3 kB / 1.049 GB, free: 6.543 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 7.004e-05/0.2874, allocations: 28 kB / 1.049 GB, free: 6.516 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.2898, allocations: 0.9033 MB / 1.05 GB, free: 5.609 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.29, allocations: 131.6 kB / 1.05 GB, free: 5.48 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.2903, allocations: 147.7 kB / 1.05 GB, free: 5.336 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.2925, allocations: 0.923 MB / 1.051 GB, free: 4.41 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2925, allocations: 0 / 1.051 GB, free: 4.41 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2925, allocations: 0 / 1.051 GB, free: 4.41 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.2925, allocations: 0 / 1.051 GB, free: 4.41 MB / 1.01 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.002102/0.2946, allocations: 0.8026 MB / 1.052 GB, free: 3.566 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.2946, allocations: 12.02 kB / 1.052 GB, free: 3.555 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.2958, allocations: 219.1 kB / 1.052 GB, free: 3.34 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006207/0.2964, allocations: 306.7 kB / 1.052 GB, free: 3.016 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.2964, allocations: 24.66 kB / 1.052 GB, free: 2.992 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.2965, allocations: 28 kB / 1.052 GB, free: 2.965 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006999/0.2972, allocations: 349.7 kB / 1.053 GB, free: 2.598 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.2972, allocations: 0 / 1.053 GB, free: 2.598 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.2972, allocations: 8 kB / 1.053 GB, free: 2.59 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/0.2972, allocations: 12.66 kB / 1.053 GB, free: 2.578 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005785/0.2978, allocations: 222.5 kB / 1.053 GB, free: 2.359 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.3001, allocations: 1.459 MB / 1.054 GB, free: 0.8359 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.3005, allocations: 143.9 kB / 1.054 GB, free: 0.6836 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.3007, allocations: 86.02 kB / 1.054 GB, free: 0.5977 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004414/0.3011, allocations: 63.94 kB / 1.055 GB, free: 0.5352 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.3011, allocations: 45.2 kB / 1.055 GB, free: 492 kB / 1.01 GB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.3011, allocations: 4 kB / 1.055 GB, free: 488 kB / 1.01 GB Notification: Performance of matching and sorting (n=20): time 0.0008404/0.302, allocations: 266.8 kB / 1.055 GB, free: 216 kB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.302, allocations: 51.41 kB / 1.055 GB, free: 152 kB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.594/0.896, allocations: 344.2 kB / 1.055 GB, free: 223.3 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.748e-05/0.8961, allocations: 29.64 kB / 1.055 GB, free: 223.2 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.8963, allocations: 257.8 kB / 1.055 GB, free: 223.1 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.8964, allocations: 78.41 kB / 1.056 GB, free: 223.1 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.8966, allocations: 56 kB / 1.056 GB, free: 223.1 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.8967, allocations: 0.524 MB / 1.056 GB, free: 222.6 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.8969, allocations: 45.16 kB / 1.056 GB, free: 222.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.8971, allocations: 217.9 kB / 1.056 GB, free: 222.4 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.8975, allocations: 200.1 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8975, allocations: 0 / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005314/0.898, allocations: 233.6 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.8981, allocations: 5.75 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.8981, allocations: 10.3 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.8981, allocations: 4.156 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.8984, allocations: 44.66 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.8984, allocations: 6.938 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.8986, allocations: 21.05 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.8986, allocations: 9.75 kB / 1.057 GB, free: 222.3 MB / 1.01 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.0001688/0.8988, allocations: 185.7 kB / 1.057 GB, free: 222.1 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.8989, allocations: 38.06 kB / 1.057 GB, free: 222.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005246/0.8994, allocations: 221.8 kB / 1.057 GB, free: 222 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.8994, allocations: 2.938 kB / 1.057 GB, free: 222 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8994, allocations: 0 / 1.057 GB, free: 222 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.8994, allocations: 0 / 1.057 GB, free: 222 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.9006, allocations: 0.7982 MB / 1.058 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.9006, allocations: 2.906 kB / 1.058 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.9008, allocations: 42.34 kB / 1.058 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.9008, allocations: 3.469 kB / 1.058 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.9008, allocations: 8.375 kB / 1.058 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.9009, allocations: 13.2 kB / 1.058 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.9009, allocations: 5.656 kB / 1.058 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004467/0.9013, allocations: 441.9 kB / 1.059 GB, free: 221.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.9014, allocations: 55.5 kB / 1.059 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.9015, allocations: 6.219 kB / 1.059 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.9017, allocations: 9.5 kB / 1.059 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.9017, allocations: 29.75 kB / 1.059 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.9017, allocations: 9.172 kB / 1.059 GB, free: 221 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001668/0.9019, allocations: 237.8 kB / 1.059 GB, free: 220.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.9019, allocations: 0 / 1.059 GB, free: 220.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004736/0.9024, allocations: 109.7 kB / 1.059 GB, free: 220.8 MB / 1.01 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.0002979/0.9027, allocations: 164.8 kB / 1.059 GB, free: 220.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004225/0.9031, allocations: 171.2 kB / 1.059 GB, free: 220.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9031, allocations: 0 / 1.059 GB, free: 220.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.9033, allocations: 100.1 kB / 1.059 GB, free: 220.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008372/0.9041, allocations: 143.9 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000907/0.905, allocations: 0.6301 MB / 1.06 GB, free: 220.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.9052, allocations: 189.3 kB / 1.06 GB, free: 220.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002504/0.9055, allocations: 62.59 kB / 1.06 GB, free: 220.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-05/0.9055, allocations: 30.81 kB / 1.06 GB, free: 220.1 MB / 1.01 GB Notification: Performance of SimCode: time 7.81e-07/0.9055, allocations: 0 / 1.06 GB, free: 220.1 MB / 1.01 GB Notification: Performance of Templates: time 0.0109/0.9164, allocations: 5.633 MB / 1.066 GB, free: 219.6 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.122279188944958]