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.001657/0.001657, allocations: 108 kB / 15.61 MB, free: 152 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.00186/0.001861, allocations: 193.5 kB / 16.53 MB, free: 6.664 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.655/1.655, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.866/2.866, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.773, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2097/0.9828, allocations: 161.5 MB / 1.175 GB, free: 388 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003422/0.9862, allocations: 1.722 MB / 1.177 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.9866, allocations: 11.94 kB / 1.177 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006209/0.9873, allocations: 151 kB / 1.177 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.9888, allocations: 0.5094 MB / 1.177 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.99, allocations: 426.5 kB / 1.178 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008158/0.9908, allocations: 0.5616 MB / 1.178 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004012/0.9912, allocations: 184.5 kB / 1.178 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/0.9919, allocations: 314.7 kB / 1.179 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.9921, allocations: 155.3 kB / 1.179 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.9921, allocations: 12 kB / 1.179 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.9933, allocations: 0.6898 MB / 1.18 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.9934, allocations: 75.78 kB / 1.18 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.9936, allocations: 127.3 kB / 1.18 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007281/0.9943, allocations: 498.6 kB / 1.18 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9943, allocations: 0 / 1.18 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9943, allocations: 0 / 1.18 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.9943, allocations: 0 / 1.18 GB, free: 10.97 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008753/0.9952, allocations: 0.5799 MB / 1.181 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.9953, allocations: 12.03 kB / 1.181 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.9956, allocations: 55.67 kB / 1.181 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.996, allocations: 285.3 kB / 1.181 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.996, allocations: 15.94 kB / 1.181 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.9961, allocations: 16 kB / 1.181 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.9965, allocations: 196.1 kB / 1.181 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.9965, allocations: 4 kB / 1.181 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.9965, allocations: 4 kB / 1.181 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.9966, allocations: 4 kB / 1.181 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.9969, allocations: 127.8 kB / 1.182 GB, free: 9.586 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.001066/0.9979, allocations: 0.7848 MB / 1.182 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.9982, allocations: 86.47 kB / 1.182 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.9984, allocations: 84.86 kB / 1.182 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003235/0.9987, allocations: 182.2 kB / 1.183 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.9987, allocations: 38.55 kB / 1.183 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.9988, allocations: 0 / 1.183 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006726/0.9994, allocations: 221.1 kB / 1.183 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.9995, allocations: 51.41 kB / 1.183 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.9998, allocations: 271 kB / 1.183 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.9998, allocations: 29.7 kB / 1.183 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.9999, allocations: 151.8 kB / 1.183 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/1, allocations: 35.53 kB / 1.183 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/1, allocations: 29.72 kB / 1.183 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1, allocations: 334.8 kB / 1.184 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/1, allocations: 44.83 kB / 1.184 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/1.001, allocations: 93.09 kB / 1.184 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/1.001, allocations: 123.3 kB / 1.184 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.001, allocations: 0 / 1.184 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003421/1.001, allocations: 157.3 kB / 1.184 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.001, allocations: 4 kB / 1.184 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.001, allocations: 4 kB / 1.184 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.001, allocations: 7.969 kB / 1.184 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/1.001, allocations: 23.92 kB / 1.184 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/1.001, allocations: 4 kB / 1.184 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/1.002, allocations: 23.81 kB / 1.184 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/1.002, allocations: 4 kB / 1.184 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002078/1.002, allocations: 144.1 kB / 1.184 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001696/1.002, allocations: 93.11 kB / 1.184 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002493/1.002, allocations: 127.4 kB / 1.185 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/1.002, allocations: 0 / 1.185 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003256/1.003, allocations: 162 kB / 1.185 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/1.003, allocations: 4 kB / 1.185 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/1.003, allocations: 4 kB / 1.185 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-06/1.003, allocations: 0 / 1.185 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/1.003, allocations: 27.92 kB / 1.185 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/1.003, allocations: 4 kB / 1.185 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/1.003, allocations: 11.98 kB / 1.185 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/1.003, allocations: 4 kB / 1.185 GB, free: 6.012 MB / 0.9356 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.0001213/1.003, allocations: 198.1 kB / 1.185 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/1.003, allocations: 23.72 kB / 1.185 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/1.003, allocations: 163.2 kB / 1.185 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.003, allocations: 0 / 1.185 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.004, allocations: 3.984 kB / 1.185 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.004, allocations: 0 / 1.185 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/1.005, allocations: 0.5821 MB / 1.186 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.005, allocations: 4.219 kB / 1.186 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/1.005, allocations: 23.98 kB / 1.186 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/1.005, allocations: 4 kB / 1.186 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/1.005, allocations: 8.125 kB / 1.186 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.005, allocations: 3.938 kB / 1.186 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.005, allocations: 7.984 kB / 1.186 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005273/1.005, allocations: 293.1 kB / 1.186 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/1.005, allocations: 112.9 kB / 1.186 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/1.005, allocations: 7.984 kB / 1.186 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/1.006, allocations: 15.98 kB / 1.186 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/1.006, allocations: 19.86 kB / 1.186 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/1.006, allocations: 11.98 kB / 1.186 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002175/1.006, allocations: 194 kB / 1.186 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6.01e-07/1.006, allocations: 0 / 1.186 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004785/1.006, allocations: 91.84 kB / 1.186 GB, free: 4.121 MB / 0.9356 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.0004529/1.007, allocations: 173 kB / 1.187 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004992/1.007, allocations: 167.7 kB / 1.187 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/1.007, allocations: 0 / 1.187 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/1.008, allocations: 64.39 kB / 1.187 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007867/1.008, allocations: 119.4 kB / 1.187 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009308/1.009, allocations: 444.9 kB / 1.187 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/1.01, allocations: 0.7558 MB / 1.188 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002683/1.01, allocations: 65.88 kB / 1.188 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/1.01, allocations: 27.42 kB / 1.188 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/1.01, allocations: 8 kB / 1.188 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of Templates: time 0.0107/1.021, allocations: 4.381 MB / 1.193 GB, free: 13.93 MB / 0.9512 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=400 -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