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.001043/0.001043, allocations: 99.58 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.001353/0.001353, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.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.663/2.663, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003756, allocations: 8 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7347/0.7351, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.169/0.9041, allocations: 157.2 MB / 1.177 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002985/0.9071, allocations: 1.71 MB / 1.179 GB, free: 380 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.9074, allocations: 11.88 kB / 1.179 GB, free: 368 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005197/0.9079, allocations: 143.2 kB / 1.179 GB, free: 224 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.9092, allocations: 490 kB / 1.18 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.9104, allocations: 378.8 kB / 1.18 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003257/0.9137, allocations: 3.399 MB / 1.183 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.9148, allocations: 0.7426 MB / 1.184 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.9164, allocations: 0.805 MB / 1.185 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.9174, allocations: 0.7156 MB / 1.185 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.9175, allocations: 35.98 kB / 1.185 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.9191, allocations: 0.8068 MB / 1.186 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003389/0.9195, allocations: 282.9 kB / 1.186 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006867/0.9202, allocations: 0.5262 MB / 1.187 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.9214, allocations: 1.013 MB / 1.188 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.9214, allocations: 0 / 1.188 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9214, allocations: 0 / 1.188 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.9214, allocations: 0 / 1.188 GB, free: 7.012 MB / 0.9356 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.001886/0.9233, allocations: 1.214 MB / 1.189 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.9234, allocations: 8.031 kB / 1.189 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007861/0.9242, allocations: 186.5 kB / 1.189 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.9253, allocations: 0.7943 MB / 1.19 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.9254, allocations: 45 kB / 1.19 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.9255, allocations: 60 kB / 1.19 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.9266, allocations: 0.69 MB / 1.191 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.9267, allocations: 3.984 kB / 1.191 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.9267, allocations: 23.94 kB / 1.191 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.9268, allocations: 16 kB / 1.191 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009096/0.9277, allocations: 0.5269 MB / 1.191 GB, free: 3.332 MB / 0.9356 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.003639/0.9313, allocations: 3.245 MB / 1.195 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006158/0.9319, allocations: 394.5 kB / 1.195 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/0.9323, allocations: 249.9 kB / 1.195 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/0.9327, allocations: 198.1 kB / 1.195 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.9327, allocations: 34.56 kB / 1.195 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/0.9327, allocations: 0 / 1.195 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.005148/0.9379, allocations: 1.518 MB / 1.197 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.9379, allocations: 55.41 kB / 1.197 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.9393, allocations: 1.065 MB / 1.198 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/0.9394, allocations: 37.7 kB / 1.198 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/0.9398, allocations: 448.4 kB / 1.199 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.76e-05/0.9399, allocations: 102.5 kB / 1.199 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.94, allocations: 29.7 kB / 1.199 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.9401, allocations: 318 kB / 1.199 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.9404, allocations: 159.8 kB / 1.199 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.9408, allocations: 365.6 kB / 1.199 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000652/0.9415, allocations: 394.5 kB / 1.2 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.9415, allocations: 0 / 1.2 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002078/0.9436, allocations: 0.8243 MB / 1.201 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.132e-05/0.9437, allocations: 113.3 kB / 1.201 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.9437, allocations: 8 kB / 1.201 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/0.9453, allocations: 366.5 kB / 1.201 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.9454, allocations: 27.98 kB / 1.201 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.9465, allocations: 1.007 MB / 1.202 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006915/0.9472, allocations: 79.69 kB / 1.202 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.9472, allocations: 8 kB / 1.202 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.9473, allocations: 4 kB / 1.202 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001098/0.9484, allocations: 0.4922 MB / 1.203 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.9484, allocations: 0 / 1.203 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000573/0.949, allocations: 206.2 kB / 1.203 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.9491, allocations: 23.92 kB / 1.203 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/0.9529, allocations: 3.032 MB / 1.206 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/0.9537, allocations: 79.78 kB / 1.206 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.9538, allocations: 8 kB / 1.206 GB, free: 3.727 MB / 0.9512 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.0005661/0.9543, allocations: 460.7 kB / 1.206 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.9545, allocations: 91.06 kB / 1.206 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.9559, allocations: 0.7269 MB / 1.207 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.9559, allocations: 7.938 kB / 1.207 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.9559, allocations: 0 / 1.207 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.9559, allocations: 0 / 1.207 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.9584, allocations: 1.523 MB / 1.209 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9584, allocations: 0 / 1.209 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.9585, allocations: 27.98 kB / 1.209 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004842/0.959, allocations: 215 kB / 1.209 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.9591, allocations: 16 kB / 1.209 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000948/0.96, allocations: 0.9816 MB / 1.21 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.96, allocations: 4.031 kB / 1.21 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.9613, allocations: 0.8095 MB / 1.211 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.9617, allocations: 219.9 kB / 1.211 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.301e-05/0.9618, allocations: 4 kB / 1.211 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.9623, allocations: 59.8 kB / 1.211 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.9624, allocations: 23.91 kB / 1.211 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.9624, allocations: 8 kB / 1.211 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00102/0.9634, allocations: 0.7747 MB / 1.212 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9635, allocations: 0 / 1.212 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001139/0.9646, allocations: 399.4 kB / 1.212 GB, free: 13.2 MB / 0.9669 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.0004295/0.965, allocations: 167.8 kB / 1.212 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.9666, allocations: 0.7787 MB / 1.213 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.9667, allocations: 4.125 kB / 1.213 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.9671, allocations: 210.6 kB / 1.213 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/0.9698, allocations: 485.4 kB / 1.214 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.9727, allocations: 2.052 MB / 1.216 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000935/0.9736, allocations: 1.181 MB / 1.217 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.9738, allocations: 55.44 kB / 1.217 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of SimCode: time 9.21e-07/0.9738, allocations: 3.938 kB / 1.217 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of Templates: time 0.02931/1.003, allocations: 19.78 MB / 1.236 GB, free: 4.496 MB / 0.9825 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 -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