Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 105.9 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.461/1.461, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 437.1 MB / 0.7111 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001953, allocations: 63.28 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3222, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.8795/1.202, allocations: 161.5 MB / 1.176 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003833/1.206, allocations: 1.723 MB / 1.177 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/1.206, allocations: 14.47 kB / 1.177 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007346/1.207, allocations: 159.6 kB / 1.178 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001712/1.209, allocations: 0.5132 MB / 1.178 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/1.21, allocations: 420.9 kB / 1.178 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00323/1.213, allocations: 2.447 MB / 1.181 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/1.215, allocations: 0.9269 MB / 1.182 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/1.218, allocations: 0.9305 MB / 1.183 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/1.219, allocations: 0.7133 MB / 1.183 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/1.219, allocations: 57.38 kB / 1.183 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/1.221, allocations: 0.7422 MB / 1.184 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004624/1.222, allocations: 306 kB / 1.184 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009599/1.223, allocations: 0.5407 MB / 1.185 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002379/1.225, allocations: 1.388 MB / 1.186 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.225, allocations: 0 / 1.186 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.813e-06/1.225, allocations: 0 / 1.186 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.637e-05/1.225, allocations: 0 / 1.186 GB, free: 5.918 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002525/1.228, allocations: 1.402 MB / 1.188 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.228, allocations: 8.094 kB / 1.188 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008999/1.229, allocations: 190.9 kB / 1.188 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/1.23, allocations: 0.799 MB / 1.189 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/1.23, allocations: 47.77 kB / 1.189 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.579e-05/1.23, allocations: 54.09 kB / 1.189 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/1.231, allocations: 0.681 MB / 1.189 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/1.231, allocations: 0 / 1.189 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.483e-05/1.232, allocations: 25.41 kB / 1.189 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/1.232, allocations: 12.59 kB / 1.189 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009193/1.232, allocations: 0.5174 MB / 1.19 GB, free: 3.48 MB / 0.8887 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.004418/1.237, allocations: 3.266 MB / 1.193 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/1.238, allocations: 388.5 kB / 1.194 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/1.238, allocations: 246.2 kB / 1.194 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/1.238, allocations: 195.2 kB / 1.194 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/1.238, allocations: 33.06 kB / 1.194 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 2.314e-06/1.238, allocations: 0 / 1.194 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.005102/1.243, allocations: 1.495 MB / 1.195 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/1.244, allocations: 56.44 kB / 1.195 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/1.245, allocations: 1.069 MB / 1.197 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.788e-05/1.245, allocations: 35.39 kB / 1.197 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/1.246, allocations: 436.5 kB / 1.197 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/1.246, allocations: 103.1 kB / 1.197 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/1.246, allocations: 73.02 kB / 1.197 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.246, allocations: 324.6 kB / 1.197 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/1.246, allocations: 163.4 kB / 1.198 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/1.247, allocations: 363.8 kB / 1.198 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006199/1.248, allocations: 385.9 kB / 1.198 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.248, allocations: 2.094 kB / 1.198 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002142/1.25, allocations: 0.8036 MB / 1.199 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.25, allocations: 12.69 kB / 1.199 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.25, allocations: 2.125 kB / 1.199 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/1.251, allocations: 353.3 kB / 1.199 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/1.251, allocations: 24.55 kB / 1.199 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/1.253, allocations: 1.014 MB / 1.2 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007059/1.253, allocations: 41.55 kB / 1.201 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/1.253, allocations: 13.56 kB / 1.201 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007341/1.254, allocations: 449.7 kB / 1.201 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004403/1.255, allocations: 322.9 kB / 1.201 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004969/1.255, allocations: 299.6 kB / 1.202 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/1.255, allocations: 0 / 1.202 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001322/1.256, allocations: 0.6031 MB / 1.202 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.256, allocations: 8.344 kB / 1.202 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/1.256, allocations: 0.875 kB / 1.202 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005284/1.257, allocations: 204.1 kB / 1.202 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/1.257, allocations: 18.42 kB / 1.202 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004118/1.261, allocations: 3.3 MB / 1.206 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000766/1.262, allocations: 46.88 kB / 1.206 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/1.262, allocations: 7.906 kB / 1.206 GB, free: 7.801 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002286/1.262, allocations: 207.5 kB / 1.206 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/1.262, allocations: 96.17 kB / 1.206 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/1.264, allocations: 0.7031 MB / 1.207 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/1.264, allocations: 1.938 kB / 1.207 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/1.264, allocations: 0 / 1.207 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/1.264, allocations: 6.891 kB / 1.207 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/1.266, allocations: 1.515 MB / 1.208 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.266, allocations: 0 / 1.208 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/1.267, allocations: 23.92 kB / 1.208 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005067/1.267, allocations: 226.9 kB / 1.208 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/1.267, allocations: 8 kB / 1.208 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/1.268, allocations: 0.9777 MB / 1.209 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.268, allocations: 3.938 kB / 1.209 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/1.27, allocations: 0.7978 MB / 1.21 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/1.27, allocations: 207.9 kB / 1.21 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/1.27, allocations: 8 kB / 1.21 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/1.27, allocations: 27.91 kB / 1.21 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/1.271, allocations: 19.92 kB / 1.21 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/1.271, allocations: 15.92 kB / 1.21 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001161/1.272, allocations: 0.7708 MB / 1.211 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.272, allocations: 0 / 1.211 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001207/1.273, allocations: 391.4 kB / 1.211 GB, free: 2.289 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005082/1.274, allocations: 180.1 kB / 1.212 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001743/1.275, allocations: 0.7668 MB / 1.212 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.275, allocations: 0 / 1.212 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004644/1.276, allocations: 214.5 kB / 1.213 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/1.278, allocations: 493.7 kB / 1.213 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/1.282, allocations: 1.763 MB / 1.215 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.283, allocations: 1.176 MB / 1.216 GB, free: 13.61 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/1.283, allocations: 55.42 kB / 1.216 GB, free: 13.56 MB / 0.92 GB Notification: Performance of SimCode: time 1.083e-06/1.283, allocations: 0 / 1.216 GB, free: 13.56 MB / 0.92 GB Notification: Performance of Templates: time 0.0326/1.315, allocations: 19.87 MB / 1.235 GB, free: 9.797 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches