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.001361/0.001361, 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.001266/0.001266, allocations: 196.6 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.574/1.574, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.81/2.81, allocations: 437 MB / 0.7103 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 63.89 kB / 0.8692 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8564/0.858, allocations: 151.6 MB / 1.017 GB, free: 2.574 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2008/1.059, allocations: 161.5 MB / 1.175 GB, free: 432 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003306/1.062, allocations: 1.71 MB / 1.177 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/1.063, allocations: 15.88 kB / 1.177 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006845/1.063, allocations: 151 kB / 1.177 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/1.065, allocations: 0.5056 MB / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/1.066, allocations: 424.3 kB / 1.178 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007501/1.067, allocations: 0.5616 MB / 1.178 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/1.067, allocations: 184.5 kB / 1.178 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006425/1.068, allocations: 314.7 kB / 1.179 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/1.068, allocations: 159.3 kB / 1.179 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.57e-05/1.068, allocations: 12 kB / 1.179 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/1.069, allocations: 0.6821 MB / 1.18 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/1.069, allocations: 87.7 kB / 1.18 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/1.069, allocations: 115.4 kB / 1.18 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007418/1.07, allocations: 0.4907 MB / 1.18 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.07, allocations: 0 / 1.18 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/1.07, allocations: 0 / 1.18 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.07, allocations: 0 / 1.18 GB, free: 11.03 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.0009771/1.071, allocations: 0.5856 MB / 1.181 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.071, allocations: 8.031 kB / 1.181 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/1.072, allocations: 51.69 kB / 1.181 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/1.072, allocations: 297.2 kB / 1.181 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/1.072, allocations: 8 kB / 1.181 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/1.072, allocations: 20 kB / 1.181 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/1.073, allocations: 200 kB / 1.181 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.073, allocations: 0 / 1.181 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/1.073, allocations: 4 kB / 1.181 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/1.073, allocations: 4 kB / 1.181 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/1.073, allocations: 133.4 kB / 1.182 GB, free: 9.637 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.00102/1.074, allocations: 0.7847 MB / 1.182 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/1.074, allocations: 86.47 kB / 1.182 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/1.074, allocations: 76.88 kB / 1.182 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003609/1.075, allocations: 186.2 kB / 1.183 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/1.075, allocations: 34.56 kB / 1.183 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/1.075, allocations: 0 / 1.183 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006524/1.076, allocations: 221.2 kB / 1.183 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/1.076, allocations: 55.41 kB / 1.183 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/1.076, allocations: 263 kB / 1.183 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/1.076, allocations: 37.69 kB / 1.183 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/1.076, allocations: 147.9 kB / 1.183 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/1.076, allocations: 31.55 kB / 1.183 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/1.076, allocations: 29.7 kB / 1.183 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.076, allocations: 338.8 kB / 1.184 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/1.076, allocations: 48.77 kB / 1.184 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/1.077, allocations: 89.11 kB / 1.184 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/1.077, allocations: 123.3 kB / 1.184 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.077, allocations: 0 / 1.184 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003324/1.077, allocations: 161.3 kB / 1.184 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.967e-05/1.077, allocations: 4 kB / 1.184 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.077, allocations: 4.562 kB / 1.184 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/1.077, allocations: 7.969 kB / 1.184 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/1.077, allocations: 23.92 kB / 1.184 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.077, allocations: 4 kB / 1.184 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/1.078, allocations: 23.83 kB / 1.184 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/1.078, allocations: 4 kB / 1.184 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001955/1.078, allocations: 160 kB / 1.184 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000158/1.078, allocations: 89.11 kB / 1.184 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002365/1.078, allocations: 115.3 kB / 1.185 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.128e-05/1.078, allocations: 4 kB / 1.185 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003072/1.079, allocations: 153.3 kB / 1.185 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.138e-06/1.079, allocations: 8 kB / 1.185 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/1.079, allocations: 0 / 1.185 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-06/1.079, allocations: 0 / 1.185 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/1.079, allocations: 27.86 kB / 1.185 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/1.079, allocations: 4 kB / 1.185 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/1.079, allocations: 19.97 kB / 1.185 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/1.079, allocations: 4.125 kB / 1.185 GB, free: 6.059 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.0001109/1.079, allocations: 188.3 kB / 1.185 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/1.079, allocations: 23.72 kB / 1.185 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/1.079, allocations: 167.2 kB / 1.185 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.079, allocations: 0 / 1.185 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.079, allocations: 0 / 1.185 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.079, allocations: 4 kB / 1.185 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/1.081, allocations: 0.5861 MB / 1.186 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.081, allocations: 224 / 1.186 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/1.081, allocations: 24.03 kB / 1.186 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/1.081, allocations: 7.984 kB / 1.186 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/1.081, allocations: 8 kB / 1.186 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.081, allocations: 0 / 1.186 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.081, allocations: 7.938 kB / 1.186 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/1.081, allocations: 297.4 kB / 1.186 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.862e-05/1.081, allocations: 112.8 kB / 1.186 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/1.081, allocations: 4.094 kB / 1.186 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/1.081, allocations: 19.92 kB / 1.186 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/1.082, allocations: 19.92 kB / 1.186 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/1.082, allocations: 4 kB / 1.186 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001941/1.082, allocations: 197.9 kB / 1.186 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.21e-07/1.082, allocations: 0 / 1.186 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004717/1.082, allocations: 91.84 kB / 1.186 GB, free: 4.172 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.0004081/1.083, allocations: 178.3 kB / 1.187 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004785/1.083, allocations: 163.8 kB / 1.187 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.083, allocations: 0 / 1.187 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/1.083, allocations: 60.41 kB / 1.187 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/1.084, allocations: 123.8 kB / 1.187 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008364/1.085, allocations: 445 kB / 1.187 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/1.085, allocations: 0.7558 MB / 1.188 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002135/1.085, allocations: 65.88 kB / 1.188 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/1.086, allocations: 23.44 kB / 1.188 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/1.086, allocations: 4 kB / 1.188 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of Templates: time 0.009226/1.095, allocations: 4.385 MB / 1.192 GB, free: 13.99 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=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