Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream") translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 107.9 kB / 16.27 MB, free: 5.984 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.002105/0.002105, allocations: 189 kB / 17.2 MB, free: 5.609 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.598/1.598, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.025/1.025, allocations: 93.71 MB / 384.8 MB, free: 5.328 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002719/0.002719, allocations: 83.86 kB / 464.1 MB, free: 6.156 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1844, allocations: 68.27 MB / 0.5198 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 1.348/1.532, allocations: 284.6 MB / 0.7978 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03335/1.566, allocations: 27.34 MB / 0.8245 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/1.568, allocations: 51.66 kB / 0.8245 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004185/1.572, allocations: 1.4 MB / 0.8259 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0174/1.59, allocations: 4.674 MB / 0.8304 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007267/1.597, allocations: 2.038 MB / 0.8324 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004654/1.602, allocations: 2.245 MB / 0.8346 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/1.603, allocations: 0.634 MB / 0.8352 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004074/1.607, allocations: 1.359 MB / 0.8366 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/1.609, allocations: 0.9827 MB / 0.8375 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002156/1.609, allocations: 137 kB / 0.8377 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02317/1.632, allocations: 8.854 MB / 0.8463 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001265/1.634, allocations: 488.7 kB / 0.8468 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002033/1.636, allocations: 0.8435 MB / 0.8476 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02354/1.659, allocations: 5.483 MB / 0.8529 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/1.659, allocations: 0 / 0.8529 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.305e-06/1.659, allocations: 0 / 0.8529 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.821e-05/1.659, allocations: 7.938 kB / 0.853 GB, free: 6.809 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.009123/1.668, allocations: 2.706 MB / 0.8556 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.62e-05/1.668, allocations: 12.03 kB / 0.8556 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006119/1.669, allocations: 177.8 kB / 0.8558 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/1.671, allocations: 0.9412 MB / 0.8567 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/1.671, allocations: 85.39 kB / 0.8568 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/1.672, allocations: 131.1 kB / 0.8569 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003554/1.675, allocations: 1.772 MB / 0.8586 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/1.675, allocations: 2.531 kB / 0.8586 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/1.675, allocations: 50.89 kB / 0.8587 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/1.676, allocations: 106.4 kB / 0.8588 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003418/1.679, allocations: 1.884 MB / 0.8606 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/1.692, allocations: 8.021 MB / 0.8685 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/1.694, allocations: 0.9086 MB / 0.8693 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/1.695, allocations: 0.6871 MB / 0.87 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002446/1.698, allocations: 2.355 MB / 0.8723 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/1.698, allocations: 46.09 kB / 0.8724 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=101): time 3.116e-06/1.698, allocations: 0 / 0.8724 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=103): time 0.008473/1.706, allocations: 3.834 MB / 0.8761 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/1.706, allocations: 68.34 kB / 0.8762 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/1.708, allocations: 0.8052 MB / 0.877 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/1.708, allocations: 41.7 kB / 0.877 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006875/1.709, allocations: 0.6054 MB / 0.8776 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/1.709, allocations: 354.2 kB / 0.8779 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/1.71, allocations: 186 kB / 0.8781 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002867/1.71, allocations: 341.9 kB / 0.8784 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009042/1.711, allocations: 0.5003 MB / 0.8789 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009755/1.712, allocations: 0.5763 MB / 0.8795 GB, free: 10.29 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system (0.0 = $START.thermalConduction.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/1.714, allocations: 1.225 MB / 0.8807 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.714, allocations: 0 / 0.8807 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003062/1.717, allocations: 1.511 MB / 0.8822 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.717, allocations: 4.625 kB / 0.8822 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.717, allocations: 3.938 kB / 0.8822 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/1.718, allocations: 177.4 kB / 0.8823 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/1.719, allocations: 186.1 kB / 0.8825 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004167/1.723, allocations: 2.703 MB / 0.8851 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/1.723, allocations: 24.09 kB / 0.8852 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/1.724, allocations: 67.95 kB / 0.8852 GB, free: 4.266 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system. 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 (95): * Single equations (assignments): 89 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008367/1.725, allocations: 334 kB / 0.8856 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/1.725, allocations: 114.5 kB / 0.8857 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/1.729, allocations: 2.128 MB / 0.8877 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/1.729, allocations: 19.98 kB / 0.8878 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/1.729, allocations: 4 kB / 0.8878 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/1.729, allocations: 3.984 kB / 0.8878 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00641/1.736, allocations: 3.371 MB / 0.8911 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.736, allocations: 4.062 kB / 0.8911 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006603/1.736, allocations: 184.4 kB / 0.8912 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005596/1.737, allocations: 168.6 kB / 0.8914 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.737, allocations: 43.91 kB / 0.8914 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/1.741, allocations: 2.702 MB / 0.8941 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.741, allocations: 0 / 0.8941 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004213/1.745, allocations: 2.346 MB / 0.8964 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/1.746, allocations: 179.7 kB / 0.8965 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/1.746, allocations: 19.94 kB / 0.8966 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005929/1.746, allocations: 30.95 kB / 0.8966 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/1.747, allocations: 96.95 kB / 0.8967 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/1.747, allocations: 59.97 kB / 0.8967 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009485/1.748, allocations: 0.5869 MB / 0.8973 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.114e-06/1.748, allocations: 0 / 0.8973 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003148/1.751, allocations: 0.9396 MB / 0.8982 GB, free: 6.785 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (thermalConduction.h,heatCapacitor.T,flowResistance2.inlet.m_flow,flowResistance3.inlet.m_flow) * 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 (91): * Single equations (assignments): 85 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003677/1.755, allocations: 1.199 MB / 0.8994 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003836/1.758, allocations: 1.715 MB / 0.9011 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.758, allocations: 0 / 0.9011 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/1.76, allocations: 0.9346 MB / 0.902 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/1.762, allocations: 416.5 kB / 0.9024 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005673/1.768, allocations: 2.861 MB / 0.9052 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/1.769, allocations: 1.256 MB / 0.9064 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005289/1.77, allocations: 155.4 kB / 0.9066 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of SimCode: time 8.82e-07/1.77, allocations: 4 kB / 0.9066 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.06053/1.83, allocations: 36.35 MB / 0.9421 GB, free: 10.2 MB / 0.6856 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.sim & ./ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches