Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009482/0.009482, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001641/0.001641, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.679/2.679, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2027/1.28, allocations: 161.5 MB / 1.324 GB, free: 1.719 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003594/1.284, allocations: 1.71 MB / 1.326 GB, free: 4 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005202/1.284, allocations: 8.047 kB / 1.326 GB, free: 15.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007384/1.285, allocations: 155 kB / 1.326 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/1.287, allocations: 0.5055 MB / 1.327 GB, free: 15.33 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/1.288, allocations: 436.8 kB / 1.327 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008691/1.289, allocations: 0.5731 MB / 1.328 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003395/1.289, allocations: 173.5 kB / 1.328 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006714/1.29, allocations: 318.7 kB / 1.328 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/1.29, allocations: 147.3 kB / 1.328 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/1.29, allocations: 16 kB / 1.328 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/1.292, allocations: 0.6937 MB / 1.329 GB, free: 13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/1.292, allocations: 79.73 kB / 1.329 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/1.292, allocations: 123.3 kB / 1.329 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008383/1.293, allocations: 497.8 kB / 1.33 GB, free: 12.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.293, allocations: 4 kB / 1.33 GB, free: 12.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.724e-06/1.293, allocations: 0 / 1.33 GB, free: 12.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.26e-05/1.293, allocations: 0 / 1.33 GB, free: 12.31 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000929/1.294, allocations: 0.5949 MB / 1.33 GB, free: 11.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.294, allocations: 8.625 kB / 1.33 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003858/1.294, allocations: 59.77 kB / 1.33 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/1.295, allocations: 305.5 kB / 1.331 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/1.295, allocations: 8 kB / 1.331 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/1.295, allocations: 20 kB / 1.331 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/1.295, allocations: 193.2 kB / 1.331 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.295, allocations: 0 / 1.331 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/1.295, allocations: 11.92 kB / 1.331 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.295, allocations: 4 kB / 1.331 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/1.296, allocations: 127.9 kB / 1.331 GB, free: 10.89 MB / 1.061 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.001047/1.297, allocations: 0.7848 MB / 1.332 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/1.297, allocations: 82.59 kB / 1.332 GB, free: 9.949 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/1.297, allocations: 80.8 kB / 1.332 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003179/1.297, allocations: 182.2 kB / 1.332 GB, free: 9.652 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/1.297, allocations: 34.5 kB / 1.332 GB, free: 9.609 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/1.297, allocations: 0 / 1.332 GB, free: 9.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0007662/1.298, allocations: 229.3 kB / 1.332 GB, free: 9.379 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/1.298, allocations: 51.41 kB / 1.332 GB, free: 9.316 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/1.299, allocations: 267 kB / 1.333 GB, free: 9.055 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/1.299, allocations: 33.7 kB / 1.333 GB, free: 9.016 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/1.299, allocations: 151.9 kB / 1.333 GB, free: 8.863 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/1.299, allocations: 35.69 kB / 1.333 GB, free: 8.828 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/1.299, allocations: 25.72 kB / 1.333 GB, free: 8.797 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.299, allocations: 338.8 kB / 1.333 GB, free: 8.457 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/1.299, allocations: 40.83 kB / 1.333 GB, free: 8.414 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/1.299, allocations: 97.09 kB / 1.333 GB, free: 8.301 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/1.3, allocations: 119.3 kB / 1.333 GB, free: 8.172 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.3, allocations: 0.5625 kB / 1.333 GB, free: 8.172 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003506/1.3, allocations: 161.3 kB / 1.333 GB, free: 8.008 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/1.3, allocations: 4 kB / 1.333 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.3, allocations: 8.031 kB / 1.334 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/1.3, allocations: 3.938 kB / 1.334 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/1.3, allocations: 19.98 kB / 1.334 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.3, allocations: 3.938 kB / 1.334 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/1.3, allocations: 32 kB / 1.334 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/1.3, allocations: 4 kB / 1.334 GB, free: 7.934 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002112/1.301, allocations: 144.2 kB / 1.334 GB, free: 7.789 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001676/1.301, allocations: 101 kB / 1.334 GB, free: 7.672 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002401/1.301, allocations: 119.3 kB / 1.334 GB, free: 7.543 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.001e-06/1.301, allocations: 0 / 1.334 GB, free: 7.543 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003056/1.301, allocations: 161.4 kB / 1.334 GB, free: 7.379 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/1.301, allocations: 4 kB / 1.334 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-06/1.301, allocations: 4 kB / 1.334 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-06/1.301, allocations: 0 / 1.334 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/1.302, allocations: 23.92 kB / 1.334 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.302, allocations: 7.938 kB / 1.334 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/1.302, allocations: 15.98 kB / 1.334 GB, free: 7.324 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/1.302, allocations: 8.031 kB / 1.334 GB, free: 7.316 MB / 1.061 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/1.302, allocations: 184.3 kB / 1.334 GB, free: 7.129 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/1.302, allocations: 23.86 kB / 1.334 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/1.302, allocations: 163.2 kB / 1.334 GB, free: 6.934 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.302, allocations: 0 / 1.334 GB, free: 6.934 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.302, allocations: 0 / 1.334 GB, free: 6.934 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/1.302, allocations: 3.984 kB / 1.334 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009012/1.303, allocations: 0.5939 MB / 1.335 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.303, allocations: 7.938 kB / 1.335 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/1.303, allocations: 27.92 kB / 1.335 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.303, allocations: 4 kB / 1.335 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/1.303, allocations: 4 kB / 1.335 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.303, allocations: 0 / 1.335 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.303, allocations: 4 kB / 1.335 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/1.304, allocations: 301.6 kB / 1.335 GB, free: 5.879 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/1.304, allocations: 112.9 kB / 1.336 GB, free: 5.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/1.304, allocations: 15.98 kB / 1.336 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/1.304, allocations: 11.98 kB / 1.336 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/1.304, allocations: 11.94 kB / 1.336 GB, free: 5.711 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/1.304, allocations: 8 kB / 1.336 GB, free: 5.703 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001805/1.304, allocations: 197.9 kB / 1.336 GB, free: 5.508 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.304, allocations: 0 / 1.336 GB, free: 5.508 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004494/1.305, allocations: 91.83 kB / 1.336 GB, free: 5.418 MB / 1.061 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004293/1.305, allocations: 175.5 kB / 1.336 GB, free: 5.246 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004651/1.306, allocations: 163.8 kB / 1.336 GB, free: 5.086 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.306, allocations: 0 / 1.336 GB, free: 5.086 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/1.306, allocations: 60.45 kB / 1.336 GB, free: 5.027 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000712/1.307, allocations: 118.6 kB / 1.336 GB, free: 4.914 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007992/1.307, allocations: 440.7 kB / 1.337 GB, free: 4.434 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/1.308, allocations: 0.748 MB / 1.337 GB, free: 3.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001971/1.308, allocations: 73.88 kB / 1.338 GB, free: 3.586 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/1.308, allocations: 19.44 kB / 1.338 GB, free: 3.566 MB / 1.061 GB Notification: Performance of SimCode: time 2.01e-07/1.308, allocations: 0 / 1.338 GB, free: 3.566 MB / 1.061 GB Notification: Performance of Templates: time 0.008815/1.317, allocations: 4.409 MB / 1.342 GB, free: 15.22 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches