Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00768/0.00768, allocations: 100.3 kB / 15.73 MB, free: 6 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.001196/0.001196, allocations: 195.1 kB / 16.67 MB, free: 5.922 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.791/2.791, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.89 kB / 1.054 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9477/0.949, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1738/1.123, allocations: 161.5 MB / 1.365 GB, free: 11.53 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.002958/1.126, allocations: 1.699 MB / 1.367 GB, free: 9.828 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004012/1.126, allocations: 15.94 kB / 1.367 GB, free: 9.812 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005798/1.127, allocations: 162.9 kB / 1.367 GB, free: 9.652 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/1.128, allocations: 0.5056 MB / 1.368 GB, free: 9.145 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/1.129, allocations: 422.6 kB / 1.368 GB, free: 8.734 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008404/1.13, allocations: 0.5731 MB / 1.369 GB, free: 8.16 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/1.131, allocations: 184.4 kB / 1.369 GB, free: 7.977 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007579/1.131, allocations: 322.8 kB / 1.369 GB, free: 7.66 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/1.132, allocations: 143.3 kB / 1.369 GB, free: 7.52 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/1.132, allocations: 12 kB / 1.369 GB, free: 7.508 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/1.133, allocations: 0.7015 MB / 1.37 GB, free: 6.805 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/1.133, allocations: 75.8 kB / 1.37 GB, free: 6.73 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/1.133, allocations: 119.3 kB / 1.37 GB, free: 6.613 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0008284/1.134, allocations: 0.4887 MB / 1.371 GB, free: 6.125 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/1.134, allocations: 0 / 1.371 GB, free: 6.125 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.362e-06/1.134, allocations: 0 / 1.371 GB, free: 6.125 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.613e-05/1.134, allocations: 0 / 1.371 GB, free: 6.125 MB / 1.092 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.0009021/1.135, allocations: 0.58 MB / 1.371 GB, free: 5.496 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.135, allocations: 8.031 kB / 1.371 GB, free: 5.488 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/1.135, allocations: 63.59 kB / 1.371 GB, free: 5.426 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/1.136, allocations: 305.2 kB / 1.372 GB, free: 5.09 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/1.136, allocations: 12 kB / 1.372 GB, free: 5.078 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/1.136, allocations: 23.88 kB / 1.372 GB, free: 5.055 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/1.136, allocations: 196.7 kB / 1.372 GB, free: 4.848 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/1.136, allocations: 0 / 1.372 GB, free: 4.848 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/1.136, allocations: 4 kB / 1.372 GB, free: 4.844 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/1.136, allocations: 4 kB / 1.372 GB, free: 4.84 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/1.137, allocations: 131.8 kB / 1.372 GB, free: 4.711 MB / 1.092 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.001059/1.138, allocations: 0.7847 MB / 1.373 GB, free: 3.855 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/1.138, allocations: 82.47 kB / 1.373 GB, free: 3.766 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/1.138, allocations: 76.88 kB / 1.373 GB, free: 3.688 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/1.139, allocations: 190.2 kB / 1.373 GB, free: 3.465 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.139, allocations: 34.5 kB / 1.373 GB, free: 3.422 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/1.139, allocations: 0 / 1.373 GB, free: 3.422 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0006857/1.139, allocations: 225.2 kB / 1.373 GB, free: 3.195 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/1.139, allocations: 51.41 kB / 1.373 GB, free: 3.133 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/1.14, allocations: 267 kB / 1.374 GB, free: 2.863 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/1.14, allocations: 29.7 kB / 1.374 GB, free: 2.828 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/1.14, allocations: 144 kB / 1.374 GB, free: 2.684 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/1.14, allocations: 35.45 kB / 1.374 GB, free: 2.648 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/1.14, allocations: 33.64 kB / 1.374 GB, free: 2.609 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.14, allocations: 342.8 kB / 1.374 GB, free: 2.266 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/1.14, allocations: 40.83 kB / 1.374 GB, free: 2.223 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/1.14, allocations: 93.11 kB / 1.374 GB, free: 2.113 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/1.141, allocations: 119.3 kB / 1.374 GB, free: 1.984 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.141, allocations: 4 kB / 1.374 GB, free: 1.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003538/1.141, allocations: 157.4 kB / 1.375 GB, free: 1.82 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.141, allocations: 6.031 kB / 1.375 GB, free: 1.816 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.141, allocations: 0 / 1.375 GB, free: 1.816 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.141, allocations: 15.95 kB / 1.375 GB, free: 1.801 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/1.141, allocations: 23.92 kB / 1.375 GB, free: 1.777 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.141, allocations: 0 / 1.375 GB, free: 1.777 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/1.141, allocations: 19.92 kB / 1.375 GB, free: 1.758 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/1.141, allocations: 8 kB / 1.375 GB, free: 1.75 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001957/1.142, allocations: 148.1 kB / 1.375 GB, free: 1.602 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001582/1.142, allocations: 89.67 kB / 1.375 GB, free: 1.496 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002484/1.142, allocations: 115.3 kB / 1.375 GB, free: 1.371 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.766e-06/1.142, allocations: 0 / 1.375 GB, free: 1.371 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003311/1.142, allocations: 169.1 kB / 1.375 GB, free: 1.199 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.687e-06/1.142, allocations: 4.188 kB / 1.375 GB, free: 1.195 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/1.142, allocations: 0 / 1.375 GB, free: 1.195 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-06/1.142, allocations: 7.938 kB / 1.375 GB, free: 1.188 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/1.142, allocations: 23.92 kB / 1.375 GB, free: 1.164 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/1.142, allocations: 0 / 1.375 GB, free: 1.164 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/1.143, allocations: 19.97 kB / 1.375 GB, free: 1.145 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/1.143, allocations: 8 kB / 1.375 GB, free: 1.137 MB / 1.092 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.0001011/1.143, allocations: 192.2 kB / 1.375 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/1.143, allocations: 19.72 kB / 1.375 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/1.143, allocations: 159.3 kB / 1.376 GB, free: 0.7539 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.143, allocations: 3.938 kB / 1.376 GB, free: 0.75 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.143, allocations: 128 / 1.376 GB, free: 0.75 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.143, allocations: 4 kB / 1.376 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008866/1.144, allocations: 0.5898 MB / 1.376 GB, free: 80 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.144, allocations: 8.203 kB / 1.376 GB, free: 72 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/1.144, allocations: 23.98 kB / 1.376 GB, free: 48 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/1.144, allocations: 4.188 kB / 1.376 GB, free: 44 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/1.144, allocations: 4 kB / 1.376 GB, free: 40 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.144, allocations: 7.938 kB / 1.376 GB, free: 32 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.144, allocations: 0 / 1.376 GB, free: 32 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/1.145, allocations: 297.1 kB / 1.376 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/1.145, allocations: 116.7 kB / 1.377 GB, free: 15.57 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/1.145, allocations: 8 kB / 1.377 GB, free: 15.56 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/1.145, allocations: 15.98 kB / 1.377 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/1.145, allocations: 15.86 kB / 1.377 GB, free: 15.53 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/1.145, allocations: 8 kB / 1.377 GB, free: 15.52 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001762/1.145, allocations: 194 kB / 1.377 GB, free: 15.34 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.145, allocations: 0 / 1.377 GB, free: 15.34 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004606/1.146, allocations: 99.83 kB / 1.377 GB, free: 15.24 MB / 1.107 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.000398/1.146, allocations: 174.9 kB / 1.377 GB, free: 15.07 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004776/1.147, allocations: 159.7 kB / 1.377 GB, free: 14.91 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.147, allocations: 3.938 kB / 1.377 GB, free: 14.91 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/1.147, allocations: 64.39 kB / 1.377 GB, free: 14.85 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007136/1.148, allocations: 122.2 kB / 1.377 GB, free: 14.73 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/1.148, allocations: 433.2 kB / 1.378 GB, free: 14.27 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/1.149, allocations: 0.7558 MB / 1.379 GB, free: 13.48 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002016/1.149, allocations: 69.88 kB / 1.379 GB, free: 13.41 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/1.149, allocations: 23.38 kB / 1.379 GB, free: 13.39 MB / 1.107 GB Notification: Performance of SimCode: time 2.4e-07/1.149, allocations: 0 / 1.379 GB, free: 13.39 MB / 1.107 GB Notification: Performance of Templates: time 0.00962/1.159, allocations: 4.461 MB / 1.383 GB, free: 9 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches