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.001297/0.001297, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001683/0.001683, allocations: 198 kB / 16.26 MB, free: 6.625 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.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.671/2.671, allocations: 437 MB / 0.7101 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.91 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6988/0.7003, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1861/0.8864, allocations: 159.3 MB / 1.172 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003195/0.8896, allocations: 1.711 MB / 1.174 GB, free: 1.109 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003184/0.89, allocations: 11.94 kB / 1.174 GB, free: 1.098 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006074/0.8906, allocations: 135.2 kB / 1.174 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.892, allocations: 497.7 kB / 1.175 GB, free: 492 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.8931, allocations: 383.1 kB / 1.175 GB, free: 112 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002412/0.8956, allocations: 2.473 MB / 1.177 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.8967, allocations: 0.8941 MB / 1.178 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.8986, allocations: 0.9611 MB / 1.179 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008953/0.8995, allocations: 0.743 MB / 1.18 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.761e-05/0.8996, allocations: 59.94 kB / 1.18 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.9015, allocations: 0.7523 MB / 1.181 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.9019, allocations: 322.8 kB / 1.181 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006246/0.9025, allocations: 0.5323 MB / 1.182 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.9041, allocations: 1.421 MB / 1.183 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9041, allocations: 4 kB / 1.183 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9041, allocations: 0 / 1.183 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.9041, allocations: 0 / 1.183 GB, free: 7.914 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.002158/0.9063, allocations: 1.396 MB / 1.184 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.9063, allocations: 16.03 kB / 1.184 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/0.9071, allocations: 186.5 kB / 1.185 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.9083, allocations: 0.7943 MB / 1.185 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.9083, allocations: 41 kB / 1.185 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.813e-05/0.9084, allocations: 56 kB / 1.185 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.9095, allocations: 0.69 MB / 1.186 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.9095, allocations: 0 / 1.186 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/0.9096, allocations: 23.98 kB / 1.186 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.9096, allocations: 12 kB / 1.186 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008391/0.9104, allocations: 0.5113 MB / 1.187 GB, free: 4.078 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.003347/0.9138, allocations: 3.241 MB / 1.19 GB, free: 480 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/0.9144, allocations: 402.4 kB / 1.19 GB, free: 68 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/0.9148, allocations: 240.3 kB / 1.19 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/0.9151, allocations: 198.2 kB / 1.191 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.9151, allocations: 30.56 kB / 1.191 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.9151, allocations: 0 / 1.191 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.004909/0.92, allocations: 1.491 MB / 1.192 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.9201, allocations: 51.41 kB / 1.192 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.9215, allocations: 1.069 MB / 1.193 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.9215, allocations: 37.7 kB / 1.193 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.9219, allocations: 448.3 kB / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.918e-05/0.922, allocations: 102.6 kB / 1.194 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.9221, allocations: 69.61 kB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.9223, allocations: 318 kB / 1.194 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.9226, allocations: 160.7 kB / 1.194 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.9231, allocations: 361.2 kB / 1.195 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/0.9237, allocations: 386.3 kB / 1.195 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.9237, allocations: 0 / 1.195 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00214/0.9258, allocations: 0.8049 MB / 1.196 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.9259, allocations: 4 kB / 1.196 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.9259, allocations: 336 / 1.196 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.9274, allocations: 368.3 kB / 1.196 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.9276, allocations: 15.98 kB / 1.196 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.9286, allocations: 1.018 MB / 1.197 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/0.9293, allocations: 71.84 kB / 1.197 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.9294, allocations: 19.97 kB / 1.197 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006867/0.93, allocations: 455.8 kB / 1.198 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003855/0.9304, allocations: 312.9 kB / 1.198 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004513/0.9309, allocations: 309.6 kB / 1.198 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.9309, allocations: 0 / 1.198 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0012/0.9321, allocations: 0.5927 MB / 1.199 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.9322, allocations: 14.17 kB / 1.199 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.9322, allocations: 0 / 1.199 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.9327, allocations: 202.6 kB / 1.199 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.9329, allocations: 15.98 kB / 1.199 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004335/0.9372, allocations: 3.309 MB / 1.202 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007685/0.938, allocations: 68.31 kB / 1.202 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.938, allocations: 12 kB / 1.202 GB, free: 3.105 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.0002464/0.9383, allocations: 208.1 kB / 1.203 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.9384, allocations: 94.78 kB / 1.203 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.9399, allocations: 0.7021 MB / 1.203 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.9399, allocations: 4 kB / 1.203 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.9399, allocations: 0 / 1.203 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9399, allocations: 0 / 1.203 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002581/0.9425, allocations: 1.517 MB / 1.205 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.9425, allocations: 4 kB / 1.205 GB, free: 492 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.9426, allocations: 20.08 kB / 1.205 GB, free: 472 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004825/0.9431, allocations: 228.7 kB / 1.205 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.9432, allocations: 8 kB / 1.205 GB, free: 232 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.9442, allocations: 0.9823 MB / 1.206 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.9442, allocations: 4.031 kB / 1.206 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.9456, allocations: 0.7937 MB / 1.207 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.9459, allocations: 211.9 kB / 1.207 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.9461, allocations: 11.98 kB / 1.207 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/0.9466, allocations: 47.89 kB / 1.207 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.9466, allocations: 27.91 kB / 1.207 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.9467, allocations: 12 kB / 1.207 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001063/0.9477, allocations: 0.7708 MB / 1.208 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.824e-06/0.9477, allocations: 0 / 1.208 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001351/0.9491, allocations: 411.2 kB / 1.208 GB, free: 12.88 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.0005209/0.9496, allocations: 157 kB / 1.208 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.9512, allocations: 0.7738 MB / 1.209 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9512, allocations: 0 / 1.209 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.9517, allocations: 210.5 kB / 1.209 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.9537, allocations: 483.3 kB / 1.21 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.9566, allocations: 1.986 MB / 1.212 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008984/0.9576, allocations: 1.184 MB / 1.213 GB, free: 8 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006897/0.9583, allocations: 215.3 kB / 1.213 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.9584, allocations: 51.44 kB / 1.213 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of SimCode: time 6.71e-07/0.9584, allocations: 4 kB / 1.213 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.03461/0.993, allocations: 19.62 MB / 1.232 GB, free: 4.355 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches