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.001614/0.001614, allocations: 112.5 kB / 15.73 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.002651/0.002651, allocations: 187.9 kB / 16.66 MB, free: 6.582 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.865/2.865, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 71.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3998, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 1.04/1.44, allocations: 161.5 MB / 1.324 GB, free: 7.527 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003925/1.444, allocations: 1.709 MB / 1.326 GB, free: 6.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/1.444, allocations: 9.375 kB / 1.326 GB, free: 6.477 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007114/1.445, allocations: 165.2 kB / 1.326 GB, free: 6.375 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001953/1.447, allocations: 0.5252 MB / 1.327 GB, free: 6.102 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/1.449, allocations: 428.8 kB / 1.327 GB, free: 5.902 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001194/1.45, allocations: 0.5741 MB / 1.328 GB, free: 5.645 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004269/1.45, allocations: 177.3 kB / 1.328 GB, free: 5.57 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008738/1.451, allocations: 331.6 kB / 1.328 GB, free: 5.422 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/1.451, allocations: 151.3 kB / 1.328 GB, free: 5.355 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/1.451, allocations: 14.06 kB / 1.328 GB, free: 5.355 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/1.453, allocations: 0.6948 MB / 1.329 GB, free: 5.109 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/1.453, allocations: 80.39 kB / 1.329 GB, free: 5.078 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/1.453, allocations: 124.4 kB / 1.329 GB, free: 5.004 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/1.454, allocations: 0.4892 MB / 1.33 GB, free: 4.832 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.454, allocations: 1.625 kB / 1.33 GB, free: 4.832 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.844e-06/1.454, allocations: 0 / 1.33 GB, free: 4.832 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.604e-06/1.454, allocations: 0 / 1.33 GB, free: 4.832 MB / 1.014 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.0009478/1.455, allocations: 0.596 MB / 1.33 GB, free: 4.309 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/1.455, allocations: 10.16 kB / 1.33 GB, free: 4.309 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/1.456, allocations: 62.06 kB / 1.33 GB, free: 4.285 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/1.456, allocations: 302.6 kB / 1.331 GB, free: 4.027 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/1.456, allocations: 11.34 kB / 1.331 GB, free: 4.023 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/1.456, allocations: 13.91 kB / 1.331 GB, free: 4.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/1.457, allocations: 189.7 kB / 1.331 GB, free: 3.922 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.457, allocations: 0 / 1.331 GB, free: 3.922 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/1.457, allocations: 6 kB / 1.331 GB, free: 3.918 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/1.457, allocations: 7.375 kB / 1.331 GB, free: 3.914 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/1.457, allocations: 123.8 kB / 1.331 GB, free: 3.883 MB / 1.014 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.001266/1.459, allocations: 0.7966 MB / 1.332 GB, free: 3.246 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/1.459, allocations: 84.47 kB / 1.332 GB, free: 3.203 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/1.459, allocations: 79.17 kB / 1.332 GB, free: 3.176 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003288/1.459, allocations: 189.1 kB / 1.332 GB, free: 2.984 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/1.459, allocations: 35.75 kB / 1.332 GB, free: 2.941 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/1.459, allocations: 0 / 1.332 GB, free: 2.941 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.000738/1.46, allocations: 217.2 kB / 1.332 GB, free: 2.859 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/1.46, allocations: 52.62 kB / 1.332 GB, free: 2.797 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/1.461, allocations: 275 kB / 1.333 GB, free: 2.645 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/1.461, allocations: 27.2 kB / 1.333 GB, free: 2.613 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/1.461, allocations: 151.1 kB / 1.333 GB, free: 2.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/1.461, allocations: 35.77 kB / 1.333 GB, free: 2.453 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/1.461, allocations: 31.11 kB / 1.333 GB, free: 2.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.461, allocations: 330 kB / 1.333 GB, free: 2.109 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/1.461, allocations: 53.33 kB / 1.333 GB, free: 2.086 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/1.461, allocations: 95.42 kB / 1.333 GB, free: 2.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/1.462, allocations: 120.8 kB / 1.333 GB, free: 1.957 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.462, allocations: 1.5 kB / 1.333 GB, free: 1.957 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003813/1.462, allocations: 156.5 kB / 1.334 GB, free: 1.887 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.462, allocations: 5.156 kB / 1.334 GB, free: 1.887 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.462, allocations: 0 / 1.334 GB, free: 1.887 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/1.462, allocations: 7.891 kB / 1.334 GB, free: 1.883 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/1.462, allocations: 24.23 kB / 1.334 GB, free: 1.879 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/1.462, allocations: 5.656 kB / 1.334 GB, free: 1.875 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/1.462, allocations: 24.73 kB / 1.334 GB, free: 1.863 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/1.462, allocations: 5.594 kB / 1.334 GB, free: 1.863 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000212/1.463, allocations: 147.4 kB / 1.334 GB, free: 1.762 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001691/1.463, allocations: 87.2 kB / 1.334 GB, free: 1.703 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002745/1.463, allocations: 129.3 kB / 1.334 GB, free: 1.633 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/1.463, allocations: 1.562 kB / 1.334 GB, free: 1.633 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003363/1.463, allocations: 149.7 kB / 1.334 GB, free: 1.566 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/1.464, allocations: 10.5 kB / 1.334 GB, free: 1.562 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-06/1.464, allocations: 0 / 1.334 GB, free: 1.562 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-06/1.464, allocations: 5.438 kB / 1.334 GB, free: 1.559 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/1.464, allocations: 27.03 kB / 1.334 GB, free: 1.555 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/1.464, allocations: 3.938 kB / 1.334 GB, free: 1.551 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/1.464, allocations: 18.34 kB / 1.334 GB, free: 1.547 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/1.464, allocations: 5.094 kB / 1.334 GB, free: 1.547 MB / 1.014 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.0001183/1.464, allocations: 183.8 kB / 1.334 GB, free: 1.363 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/1.464, allocations: 22.89 kB / 1.334 GB, free: 1.352 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/1.464, allocations: 164.2 kB / 1.335 GB, free: 1.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/1.464, allocations: 5.125 kB / 1.335 GB, free: 1.266 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.464, allocations: 1.094 kB / 1.335 GB, free: 1.266 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/1.464, allocations: 3.047 kB / 1.335 GB, free: 1.266 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/1.465, allocations: 0.5968 MB / 1.335 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.465, allocations: 4.656 kB / 1.335 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/1.466, allocations: 21.84 kB / 1.335 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/1.466, allocations: 2.625 kB / 1.335 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/1.466, allocations: 3.688 kB / 1.335 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/1.466, allocations: 6.719 kB / 1.335 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.466, allocations: 6.156 kB / 1.335 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/1.466, allocations: 298.8 kB / 1.335 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/1.466, allocations: 114.1 kB / 1.336 GB, free: 456 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/1.466, allocations: 4.469 kB / 1.336 GB, free: 456 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/1.466, allocations: 11.72 kB / 1.336 GB, free: 456 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/1.467, allocations: 20 kB / 1.336 GB, free: 444 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/1.467, allocations: 5.312 kB / 1.336 GB, free: 444 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002211/1.467, allocations: 195.4 kB / 1.336 GB, free: 328 kB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.467, allocations: 0 / 1.336 GB, free: 328 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005519/1.467, allocations: 95.84 kB / 1.336 GB, free: 312 kB / 1.014 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.0005278/1.468, allocations: 175.9 kB / 1.336 GB, free: 196 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000519/1.468, allocations: 166.2 kB / 1.336 GB, free: 152 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.468, allocations: 1.25 kB / 1.336 GB, free: 152 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/1.469, allocations: 65.17 kB / 1.336 GB, free: 132 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007745/1.469, allocations: 114 kB / 1.336 GB, free: 104 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00081/1.47, allocations: 435 kB / 1.337 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/1.471, allocations: 0.757 MB / 1.338 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002048/1.471, allocations: 77.7 kB / 1.338 GB, free: 15.06 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/1.471, allocations: 19.69 kB / 1.338 GB, free: 15.05 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/1.471, allocations: 0 / 1.338 GB, free: 15.05 MB / 1.029 GB Notification: Performance of Templates: time 0.009548/1.48, allocations: 4.402 MB / 1.342 GB, free: 14.74 MB / 1.029 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