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.001371/0.001371, allocations: 110.1 kB / 16.41 MB, free: 6.5 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.001533/0.001533, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.516/1.516, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.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.669/2.669, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 59.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158/1.159, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.211/1.37, allocations: 161.5 MB / 1.325 GB, free: 1.648 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003706/1.374, allocations: 1.708 MB / 1.327 GB, free: 15.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003995/1.375, allocations: 11.94 kB / 1.327 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007549/1.375, allocations: 158.9 kB / 1.327 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/1.377, allocations: 0.529 MB / 1.327 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/1.379, allocations: 428.6 kB / 1.328 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000895/1.379, allocations: 0.5694 MB / 1.328 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/1.38, allocations: 176.5 kB / 1.329 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007415/1.381, allocations: 330.7 kB / 1.329 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/1.381, allocations: 151.3 kB / 1.329 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/1.381, allocations: 12 kB / 1.329 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/1.382, allocations: 0.7015 MB / 1.33 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/1.382, allocations: 79.78 kB / 1.33 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/1.383, allocations: 119.3 kB / 1.33 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008487/1.383, allocations: 0.4887 MB / 1.33 GB, free: 12.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/1.383, allocations: 0 / 1.33 GB, free: 12.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.884e-06/1.383, allocations: 4 kB / 1.33 GB, free: 12.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.566e-06/1.383, allocations: 0 / 1.33 GB, free: 12.2 MB / 1.061 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.0009905/1.384, allocations: 0.5799 MB / 1.331 GB, free: 11.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/1.385, allocations: 12.91 kB / 1.331 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/1.385, allocations: 55.69 kB / 1.331 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/1.385, allocations: 305.2 kB / 1.331 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/1.386, allocations: 8 kB / 1.331 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/1.386, allocations: 16 kB / 1.331 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/1.386, allocations: 201.1 kB / 1.331 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.386, allocations: 0 / 1.331 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/1.386, allocations: 4 kB / 1.331 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/1.386, allocations: 4 kB / 1.331 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/1.386, allocations: 123.8 kB / 1.332 GB, free: 10.81 MB / 1.061 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.001255/1.388, allocations: 0.7887 MB / 1.332 GB, free: 9.949 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/1.388, allocations: 86.47 kB / 1.332 GB, free: 9.855 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/1.388, allocations: 76.88 kB / 1.333 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/1.388, allocations: 190.2 kB / 1.333 GB, free: 9.555 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/1.389, allocations: 34.5 kB / 1.333 GB, free: 9.512 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/1.389, allocations: 0 / 1.333 GB, free: 9.512 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0007208/1.389, allocations: 221.2 kB / 1.333 GB, free: 9.289 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/1.389, allocations: 55.39 kB / 1.333 GB, free: 9.223 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/1.39, allocations: 271 kB / 1.333 GB, free: 8.957 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/1.39, allocations: 25.7 kB / 1.333 GB, free: 8.926 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/1.39, allocations: 144 kB / 1.333 GB, free: 8.781 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/1.39, allocations: 39.45 kB / 1.333 GB, free: 8.742 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/1.39, allocations: 33.7 kB / 1.333 GB, free: 8.703 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.39, allocations: 334.8 kB / 1.334 GB, free: 8.367 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/1.39, allocations: 48.77 kB / 1.334 GB, free: 8.316 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/1.39, allocations: 93.11 kB / 1.334 GB, free: 8.207 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/1.391, allocations: 119.3 kB / 1.334 GB, free: 8.078 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.391, allocations: 4 kB / 1.334 GB, free: 8.074 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003605/1.391, allocations: 161.2 kB / 1.334 GB, free: 7.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.391, allocations: 8 kB / 1.334 GB, free: 7.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.391, allocations: 0 / 1.334 GB, free: 7.902 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.391, allocations: 7.938 kB / 1.334 GB, free: 7.895 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/1.391, allocations: 23.92 kB / 1.334 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/1.391, allocations: 0 / 1.334 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/1.391, allocations: 16.06 kB / 1.334 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/1.392, allocations: 8 kB / 1.334 GB, free: 7.848 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002096/1.392, allocations: 148.1 kB / 1.334 GB, free: 7.699 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001679/1.392, allocations: 93.67 kB / 1.335 GB, free: 7.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002694/1.392, allocations: 123.3 kB / 1.335 GB, free: 7.457 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.91e-07/1.392, allocations: 4 kB / 1.335 GB, free: 7.453 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003443/1.393, allocations: 153.2 kB / 1.335 GB, free: 7.297 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/1.393, allocations: 4.188 kB / 1.335 GB, free: 7.293 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/1.393, allocations: 0 / 1.335 GB, free: 7.293 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-06/1.393, allocations: 7.938 kB / 1.335 GB, free: 7.285 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/1.393, allocations: 23.98 kB / 1.335 GB, free: 7.262 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/1.393, allocations: 3.938 kB / 1.335 GB, free: 7.258 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/1.393, allocations: 20 kB / 1.335 GB, free: 7.238 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/1.393, allocations: 8 kB / 1.335 GB, free: 7.23 MB / 1.061 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.0001331/1.393, allocations: 187.1 kB / 1.335 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/1.393, allocations: 19.72 kB / 1.335 GB, free: 7.023 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/1.394, allocations: 163.3 kB / 1.335 GB, free: 6.852 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.394, allocations: 3.938 kB / 1.335 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.394, allocations: 0 / 1.335 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/1.394, allocations: 116.8 kB / 1.335 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/1.394, allocations: 0 / 1.335 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/1.394, allocations: 15.92 kB / 1.335 GB, free: 6.699 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/1.394, allocations: 4 kB / 1.335 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004059/1.394, allocations: 208.9 kB / 1.336 GB, free: 6.484 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004502/1.395, allocations: 330.5 kB / 1.336 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001405/1.395, allocations: 55.89 kB / 1.336 GB, free: 6.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001967/1.395, allocations: 190.2 kB / 1.336 GB, free: 5.902 MB / 1.061 GB Notification: Performance of Backend: time 6.42e-07/1.395, allocations: 4 kB / 1.336 GB, free: 5.898 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001305/1.396, allocations: 361.6 kB / 1.336 GB, free: 5.551 MB / 1.061 GB Notification: Performance of SimCode: time 0.001354/1.398, allocations: 0.9088 MB / 1.337 GB, free: 4.594 MB / 1.061 GB Notification: Performance of Templates: time 0.01299/1.411, allocations: 5.893 MB / 1.343 GB, free: 14.76 MB / 1.076 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches