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.002425/0.002425, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.003288/0.003288, allocations: 161.7 kB / 23.55 MB, free: 0.8633 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.569/1.569, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.049/3.049, allocations: 377.8 MB / 0.6232 GB, free: 8.551 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.104e-06/2.104e-06, allocations: 0 / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.959e-05/4.169e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2705/0.2705, allocations: 153 MB / 0.9602 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005274/0.2758, allocations: 1.764 MB / 0.9619 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006987/0.2765, allocations: 15.88 kB / 0.9619 GB, free: 6.875 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.2777, allocations: 222.4 kB / 0.9621 GB, free: 6.656 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.2808, allocations: 0.7927 MB / 0.9629 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.2842, allocations: 0.899 MB / 0.9638 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001962/0.2861, allocations: 0.8454 MB / 0.9646 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008515/0.287, allocations: 235.6 kB / 0.9648 GB, free: 3.875 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.2893, allocations: 0.697 MB / 0.9655 GB, free: 3.172 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006723/0.29, allocations: 239.3 kB / 0.9657 GB, free: 2.938 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.2901, allocations: 24 kB / 0.9658 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.2927, allocations: 0.9111 MB / 0.9667 GB, free: 2 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003202/0.293, allocations: 131.5 kB / 0.9668 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.2935, allocations: 147.7 kB / 0.9669 GB, free: 1.727 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.2961, allocations: 0.9153 MB / 0.9678 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.657e-05/0.2961, allocations: 0 / 0.9678 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2961, allocations: 0 / 0.9678 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.9e-05/0.2962, allocations: 0 / 0.9678 GB, free: 0.8086 MB / 0.9167 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.00294/0.2991, allocations: 0.7146 MB / 0.9685 GB, free: 60 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.2992, allocations: 8.031 kB / 0.9685 GB, free: 52 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.3006, allocations: 227.1 kB / 0.9687 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009837/0.3016, allocations: 315.6 kB / 0.969 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.3016, allocations: 24.66 kB / 0.9691 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.3017, allocations: 28 kB / 0.9691 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009988/0.3027, allocations: 391.5 kB / 0.9695 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.3027, allocations: 0 / 0.9695 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.932e-05/0.3028, allocations: 19.98 kB / 0.9695 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/0.3028, allocations: 16.64 kB / 0.9695 GB, free: 15 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000958/0.3038, allocations: 338.4 kB / 0.9698 GB, free: 14.68 MB / 0.9323 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.0027/0.3065, allocations: 1.25 MB / 0.971 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/0.3071, allocations: 218.7 kB / 0.9713 GB, free: 13.15 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.3075, allocations: 136.7 kB / 0.9714 GB, free: 13.01 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005446/0.308, allocations: 71.92 kB / 0.9715 GB, free: 12.94 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/0.3081, allocations: 46.48 kB / 0.9715 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=20): time 1.903e-06/0.3081, allocations: 0 / 0.9715 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of matching and sorting (n=20): time 0.00122/0.3093, allocations: 385.2 kB / 0.9719 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.3093, allocations: 63.36 kB / 0.9719 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.3098, allocations: 260.2 kB / 0.9722 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.3098, allocations: 29.7 kB / 0.9722 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.3101, allocations: 208.5 kB / 0.9724 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.3102, allocations: 71.38 kB / 0.9725 GB, free: 11.85 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.3103, allocations: 53.69 kB / 0.9725 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002487/0.3105, allocations: 334.8 kB / 0.9728 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.3108, allocations: 95.94 kB / 0.9729 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.3113, allocations: 231 kB / 0.9732 GB, free: 11.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005965/0.3119, allocations: 243.5 kB / 0.9734 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.3119, allocations: 4 kB / 0.9734 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007839/0.3127, allocations: 319 kB / 0.9737 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3127, allocations: 4 kB / 0.9737 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3127, allocations: 8 kB / 0.9737 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.048e-05/0.3127, allocations: 4 kB / 0.9737 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.313, allocations: 44.16 kB / 0.9737 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.313, allocations: 11.92 kB / 0.9738 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.3133, allocations: 27.88 kB / 0.9738 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.3133, allocations: 15.98 kB / 0.9738 GB, free: 10.41 MB / 0.9323 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.0002287/0.3136, allocations: 157.7 kB / 0.974 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.89e-05/0.3137, allocations: 39.75 kB / 0.974 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/0.3144, allocations: 289.9 kB / 0.9743 GB, free: 9.914 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.3144, allocations: 4 kB / 0.9743 GB, free: 9.91 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3144, allocations: 4 kB / 0.9743 GB, free: 9.906 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3144, allocations: 3.984 kB / 0.9743 GB, free: 9.902 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.3165, allocations: 0.7959 MB / 0.9751 GB, free: 9.035 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.3165, allocations: 4 kB / 0.9751 GB, free: 9.031 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.3167, allocations: 43.91 kB / 0.9751 GB, free: 8.988 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.3167, allocations: 0 / 0.9751 GB, free: 8.988 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.3167, allocations: 12 kB / 0.9751 GB, free: 8.977 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.3168, allocations: 7.938 kB / 0.9751 GB, free: 8.969 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.3168, allocations: 3.938 kB / 0.9751 GB, free: 8.965 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008776/0.3176, allocations: 444.6 kB / 0.9755 GB, free: 8.48 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.3178, allocations: 51.78 kB / 0.9756 GB, free: 8.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.3178, allocations: 8 kB / 0.9756 GB, free: 8.422 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.3181, allocations: 15.98 kB / 0.9756 GB, free: 8.406 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.3182, allocations: 23.84 kB / 0.9756 GB, free: 8.383 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.3182, allocations: 12 kB / 0.9757 GB, free: 8.371 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002906/0.3185, allocations: 187.1 kB / 0.9758 GB, free: 8.191 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3185, allocations: 0 / 0.9758 GB, free: 8.191 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006222/0.3191, allocations: 111.7 kB / 0.9759 GB, free: 8.082 MB / 0.9323 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.0004463/0.3196, allocations: 167.1 kB / 0.9761 GB, free: 7.91 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000727/0.3203, allocations: 223.7 kB / 0.9763 GB, free: 7.691 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3203, allocations: 384 / 0.9763 GB, free: 7.691 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.3207, allocations: 131.7 kB / 0.9764 GB, free: 7.562 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.3217, allocations: 163.8 kB / 0.9766 GB, free: 7.41 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.3231, allocations: 0.6195 MB / 0.9772 GB, free: 6.73 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.3234, allocations: 197.1 kB / 0.9774 GB, free: 6.516 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000334/0.3238, allocations: 74.92 kB / 0.9775 GB, free: 6.441 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.3239, allocations: 28.48 kB / 0.9775 GB, free: 6.414 MB / 0.9323 GB Notification: Performance of SimCode: time 8.71e-07/0.3239, allocations: 0 / 0.9775 GB, free: 6.414 MB / 0.9323 GB Notification: Performance of Templates: time 0.01536/0.3392, allocations: 5.811 MB / 0.9832 GB, free: 0.793 MB / 0.9323 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=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: 9.080641292966902]