Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001209/0.001209, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.2 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.751/2.751, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003912, allocations: 16 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7824/0.7828, allocations: 142.4 MB / 0.9544 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.2471/1.03, allocations: 220.6 MB / 1.17 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01573/1.046, allocations: 12.65 MB / 1.182 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/1.047, allocations: 51.56 kB / 1.182 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00224/1.05, allocations: 0.6557 MB / 1.183 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005123/1.055, allocations: 1.422 MB / 1.184 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003449/1.058, allocations: 1.037 MB / 1.185 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006466/1.065, allocations: 3.913 MB / 1.189 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002077/1.067, allocations: 0.7959 MB / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009807/1.077, allocations: 3.089 MB / 1.193 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/1.08, allocations: 0.9024 MB / 1.194 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005727/1.081, allocations: 51.94 kB / 1.194 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003763/1.084, allocations: 0.69 MB / 1.195 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001162/1.085, allocations: 410.6 kB / 1.195 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/1.087, allocations: 285 kB / 1.195 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00298/1.09, allocations: 1.161 MB / 1.196 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/1.09, allocations: 0 / 1.196 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.335e-06/1.09, allocations: 0 / 1.196 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.406e-05/1.09, allocations: 3.938 kB / 1.196 GB, free: 7.125 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003112/1.093, allocations: 1.406 MB / 1.198 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.093, allocations: 12.02 kB / 1.198 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009836/1.094, allocations: 198.2 kB / 1.198 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/1.096, allocations: 0.7889 MB / 1.199 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/1.096, allocations: 133.4 kB / 1.199 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/1.096, allocations: 80 kB / 1.199 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/1.098, allocations: 0.9431 MB / 1.2 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/1.098, allocations: 0 / 1.2 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/1.099, allocations: 36 kB / 1.2 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/1.099, allocations: 20 kB / 1.2 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/1.1, allocations: 0.515 MB / 1.2 GB, free: 2.793 MB / 0.9512 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.006965/1.107, allocations: 4.928 MB / 1.205 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008093/1.108, allocations: 440.5 kB / 1.206 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005857/1.108, allocations: 279.9 kB / 1.206 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/1.109, allocations: 109 kB / 1.206 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/1.109, allocations: 58.48 kB / 1.206 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=35): time 4.097e-06/1.109, allocations: 0 / 1.206 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35): time 0.003504/1.112, allocations: 0.8958 MB / 1.207 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000224/1.112, allocations: 401.5 kB / 1.207 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/1.115, allocations: 1.22 MB / 1.208 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.104e-05/1.115, allocations: 41.7 kB / 1.209 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006718/1.115, allocations: 0.534 MB / 1.209 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/1.116, allocations: 126.2 kB / 1.209 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/1.116, allocations: 12 kB / 1.209 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.116, allocations: 314 kB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/1.116, allocations: 99.92 kB / 1.21 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/1.117, allocations: 342.5 kB / 1.21 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/1.117, allocations: 147.8 kB / 1.21 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.117, allocations: 15.89 kB / 1.21 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001855/1.119, allocations: 0.5405 MB / 1.211 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001814/1.119, allocations: 199.3 kB / 1.211 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.119, allocations: 4 kB / 1.211 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007787/1.12, allocations: 109.7 kB / 1.211 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/1.121, allocations: 95.81 kB / 1.211 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/1.123, allocations: 2.316 MB / 1.213 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/1.124, allocations: 119.3 kB / 1.213 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/1.124, allocations: 20 kB / 1.213 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.124, allocations: 7.953 kB / 1.213 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009555/1.125, allocations: 361.4 kB / 1.214 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/1.125, allocations: 4 kB / 1.214 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002583/1.125, allocations: 69.67 kB / 1.214 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/1.126, allocations: 63.91 kB / 1.214 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/1.129, allocations: 3.028 MB / 1.217 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.13, allocations: 119.1 kB / 1.217 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/1.13, allocations: 23.98 kB / 1.217 GB, free: 0.5664 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007242/1.131, allocations: 352.9 kB / 1.217 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/1.131, allocations: 142.3 kB / 1.217 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/1.132, allocations: 444.9 kB / 1.218 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/1.132, allocations: 4.188 kB / 1.218 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.132, allocations: 8 kB / 1.218 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/1.132, allocations: 3.984 kB / 1.218 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/1.135, allocations: 2.576 MB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/1.135, allocations: 4.625 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/1.136, allocations: 75.89 kB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002071/1.136, allocations: 77.66 kB / 1.22 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/1.136, allocations: 12 kB / 1.221 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/1.137, allocations: 2.308 MB / 1.223 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/1.137, allocations: 11.94 kB / 1.223 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009279/1.138, allocations: 0.7878 MB / 1.224 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/1.139, allocations: 247.4 kB / 1.224 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.139, allocations: 19.94 kB / 1.224 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007227/1.139, allocations: 71.78 kB / 1.224 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/1.14, allocations: 39.8 kB / 1.224 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/1.14, allocations: 23.98 kB / 1.224 GB, free: 9 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001108/1.141, allocations: 0.8488 MB / 1.225 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.141, allocations: 0 / 1.225 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001412/1.142, allocations: 443.5 kB / 1.225 GB, free: 7.719 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005711/1.143, allocations: 231.3 kB / 1.225 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00177/1.145, allocations: 0.7434 MB / 1.226 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.145, allocations: 0 / 1.226 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004687/1.145, allocations: 201.4 kB / 1.226 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/1.149, allocations: 0.7586 MB / 1.227 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/1.152, allocations: 2.068 MB / 1.229 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/1.152, allocations: 1.135 MB / 1.23 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009022/1.153, allocations: 290.6 kB / 1.23 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/1.153, allocations: 79.42 kB / 1.231 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/1.153, allocations: 0 / 1.231 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of Templates: time 0.6039/1.757, allocations: 22.67 MB / 1.253 GB, free: 274.8 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches