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.009471/0.009471, allocations: 104.7 kB / 15.73 MB, free: 6.051 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.001711/0.00171, allocations: 191.6 kB / 16.68 MB, free: 5.965 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 68.11 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9348/0.936, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1838/1.12, allocations: 161.5 MB / 1.365 GB, free: 11.66 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003174/1.123, allocations: 1.718 MB / 1.367 GB, free: 9.934 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/1.123, allocations: 7.938 kB / 1.367 GB, free: 9.926 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005775/1.124, allocations: 162.9 kB / 1.367 GB, free: 9.766 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/1.125, allocations: 0.5056 MB / 1.368 GB, free: 9.258 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/1.127, allocations: 433.6 kB / 1.368 GB, free: 8.84 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0007818/1.127, allocations: 0.5654 MB / 1.369 GB, free: 8.273 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/1.128, allocations: 176.5 kB / 1.369 GB, free: 8.098 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000599/1.128, allocations: 322.7 kB / 1.369 GB, free: 7.781 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/1.129, allocations: 155.3 kB / 1.369 GB, free: 7.629 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/1.129, allocations: 15.94 kB / 1.369 GB, free: 7.613 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/1.13, allocations: 0.6937 MB / 1.37 GB, free: 6.918 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/1.13, allocations: 71.8 kB / 1.37 GB, free: 6.848 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/1.13, allocations: 119.3 kB / 1.37 GB, free: 6.73 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0007209/1.131, allocations: 0.4946 MB / 1.371 GB, free: 6.234 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.131, allocations: 0 / 1.371 GB, free: 6.234 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.182e-06/1.131, allocations: 0 / 1.371 GB, free: 6.234 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.101e-06/1.131, allocations: 0 / 1.371 GB, free: 6.234 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.0007998/1.132, allocations: 0.5877 MB / 1.371 GB, free: 5.598 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/1.132, allocations: 12.03 kB / 1.371 GB, free: 5.586 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/1.132, allocations: 55.67 kB / 1.371 GB, free: 5.531 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/1.132, allocations: 309.2 kB / 1.372 GB, free: 5.191 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/1.132, allocations: 15.94 kB / 1.372 GB, free: 5.176 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/1.132, allocations: 12 kB / 1.372 GB, free: 5.164 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/1.133, allocations: 192.7 kB / 1.372 GB, free: 4.961 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.133, allocations: 0 / 1.372 GB, free: 4.961 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/1.133, allocations: 11.94 kB / 1.372 GB, free: 4.949 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.133, allocations: 0 / 1.372 GB, free: 4.949 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/1.133, allocations: 131.8 kB / 1.372 GB, free: 4.82 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.0009616/1.134, allocations: 0.7769 MB / 1.373 GB, free: 3.973 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/1.134, allocations: 90.47 kB / 1.373 GB, free: 3.875 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/1.135, allocations: 76.86 kB / 1.373 GB, free: 3.797 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/1.135, allocations: 186.2 kB / 1.373 GB, free: 3.578 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/1.135, allocations: 38.56 kB / 1.373 GB, free: 3.531 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/1.135, allocations: 0 / 1.373 GB, free: 3.531 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0006751/1.136, allocations: 213.2 kB / 1.373 GB, free: 3.316 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/1.136, allocations: 55.41 kB / 1.373 GB, free: 3.25 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/1.136, allocations: 275 kB / 1.374 GB, free: 2.973 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/1.136, allocations: 29.7 kB / 1.374 GB, free: 2.938 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/1.136, allocations: 144 kB / 1.374 GB, free: 2.793 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/1.136, allocations: 35.41 kB / 1.374 GB, free: 2.758 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/1.136, allocations: 33.7 kB / 1.374 GB, free: 2.719 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.136, allocations: 330.8 kB / 1.374 GB, free: 2.387 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/1.136, allocations: 48.83 kB / 1.374 GB, free: 2.336 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/1.137, allocations: 89.11 kB / 1.374 GB, free: 2.23 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/1.137, allocations: 127.3 kB / 1.374 GB, free: 2.094 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.137, allocations: 0 / 1.374 GB, free: 2.094 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003295/1.137, allocations: 161.3 kB / 1.375 GB, free: 1.93 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.137, allocations: 9.812 kB / 1.375 GB, free: 1.922 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.137, allocations: 4 kB / 1.375 GB, free: 1.918 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/1.137, allocations: 3.938 kB / 1.375 GB, free: 1.914 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/1.137, allocations: 24.48 kB / 1.375 GB, free: 1.891 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/1.137, allocations: 4 kB / 1.375 GB, free: 1.887 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/1.138, allocations: 16.02 kB / 1.375 GB, free: 1.871 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/1.138, allocations: 4 kB / 1.375 GB, free: 1.867 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001871/1.138, allocations: 148.1 kB / 1.375 GB, free: 1.719 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001523/1.138, allocations: 97.05 kB / 1.375 GB, free: 1.605 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002494/1.138, allocations: 119.3 kB / 1.375 GB, free: 1.477 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/1.138, allocations: 4 kB / 1.375 GB, free: 1.473 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003149/1.139, allocations: 149.2 kB / 1.375 GB, free: 1.32 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/1.139, allocations: 8 kB / 1.375 GB, free: 1.312 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/1.139, allocations: 0 / 1.375 GB, free: 1.312 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-06/1.139, allocations: 0 / 1.375 GB, free: 1.312 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/1.139, allocations: 32.08 kB / 1.375 GB, free: 1.281 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/1.139, allocations: 8 kB / 1.375 GB, free: 1.273 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/1.139, allocations: 20.19 kB / 1.375 GB, free: 1.254 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/1.139, allocations: 4 kB / 1.375 GB, free: 1.25 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 9.282e-05/1.139, allocations: 188.2 kB / 1.375 GB, free: 1.059 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/1.139, allocations: 23.72 kB / 1.375 GB, free: 1.035 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/1.139, allocations: 175.2 kB / 1.376 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/1.139, allocations: 0 / 1.376 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.139, allocations: 0 / 1.376 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/1.139, allocations: 4 kB / 1.376 GB, free: 0.8477 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008406/1.14, allocations: 0.5937 MB / 1.376 GB, free: 180 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.14, allocations: 0 / 1.376 GB, free: 180 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/1.14, allocations: 19.98 kB / 1.376 GB, free: 160 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.14, allocations: 4 kB / 1.376 GB, free: 156 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/1.14, allocations: 4 kB / 1.376 GB, free: 152 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.14, allocations: 3.938 kB / 1.376 GB, free: 148 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.14, allocations: 8.219 kB / 1.376 GB, free: 140 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/1.141, allocations: 301.1 kB / 1.377 GB, free: 15.8 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.74e-05/1.141, allocations: 113.1 kB / 1.377 GB, free: 15.68 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/1.141, allocations: 0 / 1.377 GB, free: 15.68 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/1.141, allocations: 19.92 kB / 1.377 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/1.141, allocations: 19.86 kB / 1.377 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/1.141, allocations: 11.94 kB / 1.377 GB, free: 15.62 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001739/1.141, allocations: 197.9 kB / 1.377 GB, free: 15.44 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.141, allocations: 0 / 1.377 GB, free: 15.44 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000464/1.142, allocations: 91.84 kB / 1.377 GB, free: 15.35 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.0003837/1.142, allocations: 155.6 kB / 1.377 GB, free: 15.19 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004636/1.143, allocations: 180.1 kB / 1.377 GB, free: 15.02 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.143, allocations: 0 / 1.377 GB, free: 15.02 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/1.143, allocations: 55.91 kB / 1.377 GB, free: 14.96 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007171/1.144, allocations: 122 kB / 1.377 GB, free: 14.85 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/1.144, allocations: 429.2 kB / 1.378 GB, free: 14.38 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/1.145, allocations: 0.7635 MB / 1.379 GB, free: 13.59 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001847/1.145, allocations: 65.89 kB / 1.379 GB, free: 13.53 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/1.145, allocations: 23.44 kB / 1.379 GB, free: 13.51 MB / 1.107 GB Notification: Performance of SimCode: time 2.3e-07/1.145, allocations: 0 / 1.379 GB, free: 13.51 MB / 1.107 GB Notification: Performance of Templates: time 0.008239/1.153, allocations: 4.402 MB / 1.383 GB, free: 9.172 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