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.002596/0.002596, allocations: 83.7 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002836/0.002836, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.629/1.629, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 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.067/3.067, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 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.094e-06/2.094e-06, allocations: 0 / 0.8108 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.464e-05, allocations: 3.562 kB / 0.8108 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2572/0.2572, allocations: 169.8 MB / 0.9766 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.004084/0.2613, allocations: 1.869 MB / 0.9784 GB, free: 4.781 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004389/0.2617, allocations: 23.81 kB / 0.9785 GB, free: 4.758 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0008664/0.2626, allocations: 214.5 kB / 0.9787 GB, free: 4.547 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.2648, allocations: 0.8005 MB / 0.9794 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.2673, allocations: 0.8912 MB / 0.9803 GB, free: 2.848 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.2686, allocations: 0.8453 MB / 0.9811 GB, free: 2 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005137/0.2691, allocations: 247.6 kB / 0.9814 GB, free: 1.754 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.2707, allocations: 0.7009 MB / 0.9821 GB, free: 1.051 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004208/0.2712, allocations: 235.3 kB / 0.9823 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 6.391e-05/0.2712, allocations: 32 kB / 0.9823 GB, free: 0.7891 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.2731, allocations: 0.9034 MB / 0.9832 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.2733, allocations: 135.6 kB / 0.9833 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0005184/0.2738, allocations: 135.7 kB / 0.9835 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.2756, allocations: 0.9269 MB / 0.9844 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2756, allocations: 4 kB / 0.9844 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2756, allocations: 0 / 0.9844 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.2756, allocations: 3.984 kB / 0.9844 GB, free: 14.68 MB / 0.9011 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.001876/0.2775, allocations: 0.8025 MB / 0.9852 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2776, allocations: 12.03 kB / 0.9852 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.2787, allocations: 215.1 kB / 0.9854 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.2794, allocations: 322.4 kB / 0.9857 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.2794, allocations: 20.66 kB / 0.9857 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.2794, allocations: 24 kB / 0.9857 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/0.2802, allocations: 341.8 kB / 0.986 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2802, allocations: 3.938 kB / 0.9861 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.2802, allocations: 19.92 kB / 0.9861 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.2802, allocations: 16.66 kB / 0.9861 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006189/0.2809, allocations: 226.4 kB / 0.9863 GB, free: 12.61 MB / 0.9011 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.002364/0.2832, allocations: 1.455 MB / 0.9877 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.2836, allocations: 139.2 kB / 0.9879 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.2839, allocations: 87.69 kB / 0.9879 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004536/0.2843, allocations: 63.94 kB / 0.988 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.2844, allocations: 41.33 kB / 0.988 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=20): time 1.943e-06/0.2844, allocations: 0 / 0.988 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20): time 0.0008828/0.2852, allocations: 267.6 kB / 0.9883 GB, free: 10.47 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.2853, allocations: 55.41 kB / 0.9883 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.2857, allocations: 358.3 kB / 0.9887 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.2858, allocations: 29.7 kB / 0.9887 GB, free: 10 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.286, allocations: 259.2 kB / 0.989 GB, free: 9.742 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.2861, allocations: 83.31 kB / 0.989 GB, free: 9.66 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.2862, allocations: 55.36 kB / 0.9891 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003183/0.2866, allocations: 0.5196 MB / 0.9896 GB, free: 9.066 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.2867, allocations: 55.95 kB / 0.9897 GB, free: 9.012 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.287, allocations: 208.2 kB / 0.9899 GB, free: 8.762 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.2874, allocations: 197.6 kB / 0.99 GB, free: 8.539 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2874, allocations: 0 / 0.99 GB, free: 8.539 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005198/0.288, allocations: 228 kB / 0.9903 GB, free: 8.312 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.288, allocations: 15.92 kB / 0.9903 GB, free: 8.297 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.288, allocations: 4.188 kB / 0.9903 GB, free: 8.293 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.288, allocations: 4 kB / 0.9903 GB, free: 8.289 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.2883, allocations: 43.92 kB / 0.9903 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.2883, allocations: 4 kB / 0.9903 GB, free: 8.242 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.2885, allocations: 23.88 kB / 0.9904 GB, free: 8.219 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/0.2888, allocations: 8 kB / 0.9904 GB, free: 8.211 MB / 0.9011 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.0002025/0.289, allocations: 196.5 kB / 0.9906 GB, free: 8.008 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-05/0.289, allocations: 35.75 kB / 0.9906 GB, free: 7.973 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000558/0.2896, allocations: 215.7 kB / 0.9908 GB, free: 7.754 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.2896, allocations: 4 kB / 0.9908 GB, free: 7.75 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2896, allocations: 0 / 0.9908 GB, free: 7.75 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.2896, allocations: 3.984 kB / 0.9908 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.2911, allocations: 0.7944 MB / 0.9916 GB, free: 6.863 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2911, allocations: 4.031 kB / 0.9916 GB, free: 6.859 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.2913, allocations: 47.91 kB / 0.9916 GB, free: 6.812 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.2913, allocations: 4 kB / 0.9916 GB, free: 6.809 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.2913, allocations: 4 kB / 0.9916 GB, free: 6.805 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.2913, allocations: 4 kB / 0.9916 GB, free: 6.801 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/0.2913, allocations: 11.88 kB / 0.9916 GB, free: 6.789 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/0.292, allocations: 442.6 kB / 0.9921 GB, free: 6.293 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.2921, allocations: 51.72 kB / 0.9921 GB, free: 6.242 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.2922, allocations: 12 kB / 0.9921 GB, free: 6.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.2924, allocations: 8 kB / 0.9921 GB, free: 6.223 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.2925, allocations: 31.88 kB / 0.9922 GB, free: 6.191 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.2925, allocations: 8 kB / 0.9922 GB, free: 6.184 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002767/0.2928, allocations: 243 kB / 0.9924 GB, free: 5.949 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2928, allocations: 0 / 0.9924 GB, free: 5.949 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004931/0.2932, allocations: 107.8 kB / 0.9925 GB, free: 5.844 MB / 0.9011 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.0003636/0.2936, allocations: 163.1 kB / 0.9927 GB, free: 5.676 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004837/0.2941, allocations: 170.5 kB / 0.9928 GB, free: 5.508 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2941, allocations: 0 / 0.9928 GB, free: 5.508 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.2943, allocations: 96.52 kB / 0.9929 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009637/0.2953, allocations: 165.8 kB / 0.9931 GB, free: 5.254 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.2965, allocations: 0.6435 MB / 0.9937 GB, free: 4.531 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.2967, allocations: 189.4 kB / 0.9939 GB, free: 4.324 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002418/0.297, allocations: 70.91 kB / 0.994 GB, free: 4.258 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.2971, allocations: 28.5 kB / 0.994 GB, free: 4.23 MB / 0.9011 GB Notification: Performance of SimCode: time 6.61e-07/0.2971, allocations: 0 / 0.994 GB, free: 4.23 MB / 0.9011 GB Notification: Performance of Templates: time 0.01379/0.3109, allocations: 5.809 MB / 0.9997 GB, free: 14.61 MB / 0.9167 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] 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: 8.879745598998852]