Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.PressureDropsParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res1.m_flow|res2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res1.m_flow|res2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009776/0.0009776, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 187.3 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.743/2.743, allocations: 443.2 MB / 0.7181 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003756, allocations: 11.95 kB / 0.8801 GB, free: 42.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3429, allocations: 155.1 MB / 1.032 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel): time 0.01939/0.3623, allocations: 18.34 MB / 1.05 GB, free: 2.391 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.006633/0.369, allocations: 4.955 MB / 1.054 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005823/0.3697, allocations: 11.94 kB / 1.054 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006817/0.3704, allocations: 182.9 kB / 1.055 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.3717, allocations: 0.4899 MB / 1.055 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.3733, allocations: 0.4944 MB / 1.056 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001753/0.3751, allocations: 1.454 MB / 1.057 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004975/0.3756, allocations: 291.7 kB / 1.057 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009277/0.3765, allocations: 454 kB / 1.058 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.3769, allocations: 290.6 kB / 1.058 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.377, allocations: 12 kB / 1.058 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.378, allocations: 0.5263 MB / 1.058 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.3781, allocations: 71.62 kB / 1.059 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.3783, allocations: 204.7 kB / 1.059 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005823/0.3789, allocations: 431 kB / 1.059 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.3789, allocations: 0 / 1.059 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.657e-06/0.379, allocations: 0 / 1.059 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.379, allocations: 3.938 kB / 1.059 GB, free: 8.523 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001019/0.38, allocations: 0.6622 MB / 1.06 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.38, allocations: 8.031 kB / 1.06 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.789e-05/0.3801, allocations: 44.47 kB / 1.06 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.3806, allocations: 359.6 kB / 1.06 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.452e-05/0.3807, allocations: 46.14 kB / 1.06 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.3808, allocations: 28 kB / 1.06 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.3813, allocations: 243.2 kB / 1.06 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3813, allocations: 4 kB / 1.06 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.3813, allocations: 8 kB / 1.06 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.3814, allocations: 8 kB / 1.06 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.3817, allocations: 161.7 kB / 1.061 GB, free: 6.875 MB / 0.8106 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.001494/0.3832, allocations: 1.092 MB / 1.062 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.3835, allocations: 114.6 kB / 1.062 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.3837, allocations: 72.81 kB / 1.062 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.384, allocations: 336.4 kB / 1.062 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.384, allocations: 38.56 kB / 1.062 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 2.715e-06/0.384, allocations: 0 / 1.062 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0005856/0.3846, allocations: 221.1 kB / 1.062 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.3847, allocations: 63.28 kB / 1.063 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.385, allocations: 329.7 kB / 1.063 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.385, allocations: 33.64 kB / 1.063 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3852, allocations: 200 kB / 1.063 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.3852, allocations: 35.55 kB / 1.063 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.3853, allocations: 13.72 kB / 1.063 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3854, allocations: 338.8 kB / 1.063 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.3856, allocations: 55.95 kB / 1.063 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.3858, allocations: 102 kB / 1.064 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.386, allocations: 130.5 kB / 1.064 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.386, allocations: 0 / 1.064 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003779/0.3864, allocations: 189.2 kB / 1.064 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.565e-05/0.3865, allocations: 106.7 kB / 1.064 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3865, allocations: 8.031 kB / 1.064 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3866, allocations: 0 / 1.064 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3867, allocations: 23.98 kB / 1.064 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3867, allocations: 0 / 1.064 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.387, allocations: 39.91 kB / 1.064 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.387, allocations: 11.98 kB / 1.064 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/0.387, allocations: 1.875 kB / 1.064 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002974/0.3873, allocations: 123.8 kB / 1.064 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.3874, allocations: 0 / 1.064 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-06/0.3874, allocations: 4.031 kB / 1.064 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.3875, allocations: 23.98 kB / 1.064 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.3875, allocations: 4.234 kB / 1.064 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.3877, allocations: 35.88 kB / 1.064 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.3877, allocations: 11.98 kB / 1.064 GB, free: 2.844 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0001822/0.3879, allocations: 221 kB / 1.064 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.388, allocations: 35.7 kB / 1.065 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004969/0.3885, allocations: 236.8 kB / 1.065 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.3885, allocations: 0 / 1.065 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3885, allocations: 4.375 kB / 1.065 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3885, allocations: 3.938 kB / 1.065 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009249/0.3895, allocations: 0.6335 MB / 1.065 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3895, allocations: 4.078 kB / 1.065 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.372e-05/0.3896, allocations: 27.92 kB / 1.065 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3896, allocations: 3.938 kB / 1.065 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3896, allocations: 12 kB / 1.065 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3896, allocations: 96 / 1.065 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3896, allocations: 7.938 kB / 1.065 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.3901, allocations: 318.2 kB / 1.066 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.3902, allocations: 128.6 kB / 1.066 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.3903, allocations: 11.94 kB / 1.066 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.3905, allocations: 35.91 kB / 1.066 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.3906, allocations: 15.92 kB / 1.066 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.3906, allocations: 11.98 kB / 1.066 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002418/0.3909, allocations: 235.2 kB / 1.066 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3909, allocations: 0 / 1.066 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000589/0.3915, allocations: 171.5 kB / 1.066 GB, free: 0.6328 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005241/0.392, allocations: 204.5 kB / 1.066 GB, free: 444 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000516/0.3925, allocations: 199.8 kB / 1.067 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3925, allocations: 0 / 1.067 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.3927, allocations: 84.14 kB / 1.067 GB, free: 160 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.3939, allocations: 163 kB / 1.067 GB, free: 16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.3949, allocations: 0.7104 MB / 1.068 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.3953, allocations: 0.7953 MB / 1.068 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/0.3954, allocations: 27.44 kB / 1.068 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of SimCode: time 7.12e-07/0.3954, allocations: 0 / 1.068 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of Templates: time 0.009425/0.4048, allocations: 5.514 MB / 1.074 GB, free: 8.949 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsParallel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches