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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001707/0.001707, allocations: 112.6 kB / 16.37 MB, free: 6 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.002087/0.002087, allocations: 196 kB / 17.31 MB, free: 5.613 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 65.44 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.304, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.8485/1.153, allocations: 161.5 MB / 1.177 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003625/1.156, allocations: 1.721 MB / 1.178 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004855/1.157, allocations: 10.78 kB / 1.178 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006867/1.158, allocations: 162.2 kB / 1.178 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00167/1.159, allocations: 0.5062 MB / 1.179 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/1.161, allocations: 429.8 kB / 1.179 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003437/1.164, allocations: 2.46 MB / 1.182 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/1.166, allocations: 0.9365 MB / 1.183 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001918/1.168, allocations: 0.9315 MB / 1.184 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/1.169, allocations: 0.7175 MB / 1.184 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/1.169, allocations: 57.16 kB / 1.184 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/1.171, allocations: 0.739 MB / 1.185 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000378/1.171, allocations: 305.7 kB / 1.185 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007003/1.172, allocations: 0.5435 MB / 1.186 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001678/1.173, allocations: 1.393 MB / 1.187 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.173, allocations: 3.938 kB / 1.187 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.643e-06/1.173, allocations: 0 / 1.187 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.617e-05/1.173, allocations: 0 / 1.187 GB, free: 5.508 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.002092/1.176, allocations: 1.407 MB / 1.189 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.176, allocations: 8.469 kB / 1.189 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000774/1.176, allocations: 190.5 kB / 1.189 GB, free: 4.34 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/1.178, allocations: 0.8432 MB / 1.19 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/1.178, allocations: 41.75 kB / 1.19 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.363e-05/1.178, allocations: 55.88 kB / 1.19 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/1.179, allocations: 0.6808 MB / 1.19 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/1.179, allocations: 1.469 kB / 1.19 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/1.179, allocations: 19.25 kB / 1.19 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/1.179, allocations: 16.16 kB / 1.19 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008687/1.18, allocations: 0.5183 MB / 1.191 GB, free: 3.043 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.003992/1.184, allocations: 3.246 MB / 1.194 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006503/1.185, allocations: 395.1 kB / 1.194 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/1.185, allocations: 244.3 kB / 1.195 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003212/1.186, allocations: 195.3 kB / 1.195 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/1.186, allocations: 33.16 kB / 1.195 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/1.186, allocations: 0 / 1.195 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.004679/1.19, allocations: 1.489 MB / 1.196 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/1.19, allocations: 53.94 kB / 1.196 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/1.192, allocations: 1.069 MB / 1.197 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/1.192, allocations: 39.45 kB / 1.197 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/1.192, allocations: 435 kB / 1.198 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.683e-05/1.192, allocations: 99.28 kB / 1.198 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/1.192, allocations: 68.91 kB / 1.198 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.192, allocations: 324.3 kB / 1.198 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/1.193, allocations: 161.1 kB / 1.198 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/1.193, allocations: 360.5 kB / 1.199 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006305/1.194, allocations: 384.2 kB / 1.199 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/1.194, allocations: 4.859 kB / 1.199 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001921/1.196, allocations: 0.806 MB / 1.2 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.196, allocations: 9.375 kB / 1.2 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.196, allocations: 0 / 1.2 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/1.197, allocations: 360.8 kB / 1.2 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/1.198, allocations: 19.2 kB / 1.2 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/1.199, allocations: 1.001 MB / 1.201 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006381/1.199, allocations: 52.17 kB / 1.201 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/1.199, allocations: 16.98 kB / 1.201 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006086/1.2, allocations: 450.6 kB / 1.202 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003653/1.2, allocations: 320.2 kB / 1.202 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004385/1.201, allocations: 304.7 kB / 1.202 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.285e-06/1.201, allocations: 0 / 1.202 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001141/1.202, allocations: 0.6012 MB / 1.203 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/1.202, allocations: 4.875 kB / 1.203 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/1.202, allocations: 6.75 kB / 1.203 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005038/1.202, allocations: 199.1 kB / 1.203 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.972e-05/1.202, allocations: 23.27 kB / 1.203 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003897/1.206, allocations: 3.309 MB / 1.206 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/1.207, allocations: 44.81 kB / 1.207 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/1.207, allocations: 13.75 kB / 1.207 GB, free: 7.371 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.000177/1.207, allocations: 195.6 kB / 1.207 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/1.207, allocations: 96.72 kB / 1.207 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/1.209, allocations: 0.7079 MB / 1.207 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.209, allocations: 5.062 kB / 1.207 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/1.209, allocations: 0 / 1.207 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.209, allocations: 0 / 1.207 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/1.211, allocations: 1.499 MB / 1.209 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/1.211, allocations: 4.094 kB / 1.209 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/1.211, allocations: 23.92 kB / 1.209 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004482/1.212, allocations: 228.5 kB / 1.209 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/1.212, allocations: 12.22 kB / 1.209 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009381/1.213, allocations: 0.9762 MB / 1.21 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.213, allocations: 4.031 kB / 1.21 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/1.214, allocations: 0.7978 MB / 1.211 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/1.214, allocations: 219.8 kB / 1.211 GB, free: 2.836 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.611e-05/1.214, allocations: 11.98 kB / 1.211 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/1.215, allocations: 19.98 kB / 1.211 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/1.215, allocations: 19.97 kB / 1.211 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/1.215, allocations: 12 kB / 1.211 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009778/1.216, allocations: 0.7708 MB / 1.212 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/1.216, allocations: 0 / 1.212 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001108/1.217, allocations: 399.3 kB / 1.212 GB, free: 1.602 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.0003993/1.217, allocations: 171.3 kB / 1.213 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001497/1.219, allocations: 0.7629 MB / 1.213 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.219, allocations: 0 / 1.213 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003942/1.219, allocations: 214.6 kB / 1.213 GB, free: 456 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/1.221, allocations: 0.4903 MB / 1.214 GB, free: 15.95 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/1.224, allocations: 1.68 MB / 1.216 GB, free: 14.22 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008652/1.225, allocations: 1.18 MB / 1.217 GB, free: 13.01 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000581/1.225, allocations: 207.2 kB / 1.217 GB, free: 12.81 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/1.225, allocations: 51.44 kB / 1.217 GB, free: 12.76 MB / 0.92 GB Notification: Performance of SimCode: time 1.162e-06/1.225, allocations: 0 / 1.217 GB, free: 12.76 MB / 0.92 GB Notification: Performance of Templates: time 0.03265/1.258, allocations: 19.73 MB / 1.236 GB, free: 9.277 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=480 -s cvode -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