Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001546/0.001546, allocations: 109.3 kB / 16.41 MB, free: 6.465 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.001697/0.001697, allocations: 187 kB / 17.34 MB, free: 5.719 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 59.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9634/0.9651, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.204/1.169, allocations: 161.5 MB / 1.246 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003436/1.173, allocations: 1.714 MB / 1.248 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003578/1.173, allocations: 14.53 kB / 1.248 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006253/1.174, allocations: 152.6 kB / 1.248 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001467/1.175, allocations: 0.5051 MB / 1.249 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/1.176, allocations: 438.3 kB / 1.249 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008199/1.177, allocations: 0.5707 MB / 1.25 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/1.178, allocations: 180.4 kB / 1.25 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006512/1.178, allocations: 322.8 kB / 1.25 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/1.178, allocations: 159.2 kB / 1.25 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/1.179, allocations: 12 kB / 1.25 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/1.18, allocations: 0.6976 MB / 1.251 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.824e-05/1.18, allocations: 71.8 kB / 1.251 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/1.18, allocations: 123.3 kB / 1.251 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007577/1.181, allocations: 496.5 kB / 1.252 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.181, allocations: 0 / 1.252 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/1.181, allocations: 0 / 1.252 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.204e-06/1.181, allocations: 4 kB / 1.252 GB, free: 6.828 MB / 0.9825 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.0007892/1.182, allocations: 0.5877 MB / 1.252 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.182, allocations: 8.031 kB / 1.252 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003444/1.182, allocations: 47.69 kB / 1.252 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/1.182, allocations: 305.3 kB / 1.253 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/1.182, allocations: 16 kB / 1.253 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/1.182, allocations: 16 kB / 1.253 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/1.183, allocations: 192.1 kB / 1.253 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/1.183, allocations: 0 / 1.253 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/1.183, allocations: 12 kB / 1.253 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.183, allocations: 4 kB / 1.253 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/1.183, allocations: 127.8 kB / 1.253 GB, free: 5.422 MB / 0.9825 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.0009628/1.184, allocations: 0.7807 MB / 1.254 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/1.184, allocations: 82.53 kB / 1.254 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/1.185, allocations: 80.86 kB / 1.254 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/1.185, allocations: 186.2 kB / 1.254 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/1.185, allocations: 38.55 kB / 1.254 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/1.185, allocations: 0 / 1.254 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006539/1.186, allocations: 217.2 kB / 1.254 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/1.186, allocations: 63.34 kB / 1.254 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/1.186, allocations: 267 kB / 1.255 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/1.186, allocations: 29.7 kB / 1.255 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/1.186, allocations: 144 kB / 1.255 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/1.186, allocations: 31.92 kB / 1.255 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/1.186, allocations: 33.62 kB / 1.255 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.186, allocations: 330.8 kB / 1.255 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/1.186, allocations: 52.81 kB / 1.255 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/1.186, allocations: 93.05 kB / 1.255 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/1.187, allocations: 119.3 kB / 1.255 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.187, allocations: 0 / 1.255 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003154/1.187, allocations: 157.3 kB / 1.255 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.187, allocations: 8 kB / 1.255 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/1.187, allocations: 0 / 1.255 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/1.187, allocations: 3.938 kB / 1.255 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/1.187, allocations: 23.98 kB / 1.256 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/1.187, allocations: 4.031 kB / 1.256 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/1.187, allocations: 27.81 kB / 1.256 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/1.187, allocations: 4 kB / 1.256 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001806/1.188, allocations: 148.1 kB / 1.256 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001456/1.188, allocations: 89.05 kB / 1.256 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002248/1.188, allocations: 119.5 kB / 1.256 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/1.188, allocations: 0 / 1.256 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003021/1.188, allocations: 165.2 kB / 1.256 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/1.188, allocations: 10.28 kB / 1.256 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-06/1.188, allocations: 4.031 kB / 1.256 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-06/1.188, allocations: 4.125 kB / 1.256 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/1.188, allocations: 27.92 kB / 1.256 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-06/1.188, allocations: 0 / 1.256 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/1.189, allocations: 15.98 kB / 1.256 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/1.189, allocations: 4 kB / 1.256 GB, free: 1.855 MB / 0.9825 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 9.543e-05/1.189, allocations: 190.6 kB / 1.256 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/1.189, allocations: 31.7 kB / 1.256 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003581/1.189, allocations: 159.6 kB / 1.256 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.189, allocations: 7.984 kB / 1.256 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.189, allocations: 0 / 1.256 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.189, allocations: 96 / 1.256 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008158/1.19, allocations: 0.5897 MB / 1.257 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.19, allocations: 0 / 1.257 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/1.19, allocations: 31.92 kB / 1.257 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/1.19, allocations: 224 / 1.257 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/1.19, allocations: 8 kB / 1.257 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/1.19, allocations: 4 kB / 1.257 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.19, allocations: 3.984 kB / 1.257 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/1.191, allocations: 293.1 kB / 1.257 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/1.191, allocations: 112.8 kB / 1.257 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/1.191, allocations: 7.984 kB / 1.258 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/1.191, allocations: 11.98 kB / 1.258 GB, free: 276 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/1.191, allocations: 19.88 kB / 1.258 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/1.191, allocations: 7.984 kB / 1.258 GB, free: 248 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001645/1.191, allocations: 194 kB / 1.258 GB, free: 52 kB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/1.191, allocations: 0 / 1.258 GB, free: 52 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004471/1.192, allocations: 96.02 kB / 1.258 GB, free: 15.95 MB / 0.9981 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.000372/1.192, allocations: 168.2 kB / 1.258 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004476/1.192, allocations: 171.7 kB / 1.258 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.192, allocations: 0 / 1.258 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/1.193, allocations: 63.83 kB / 1.258 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006908/1.193, allocations: 114.6 kB / 1.258 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006667/1.194, allocations: 479.1 kB / 1.259 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/1.194, allocations: 0.7519 MB / 1.26 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/1.194, allocations: 23.44 kB / 1.26 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of SimCode: time 2.01e-07/1.194, allocations: 0 / 1.26 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of Templates: time 0.005464/1.2, allocations: 3.725 MB / 1.263 GB, free: 10.43 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches