Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 193.1 kB / 16.66 MB, free: 6.582 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.77/2.77, allocations: 437 MB / 0.7105 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3331, allocations: 151.6 MB / 1.167 GB, free: 6.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.9214/1.255, allocations: 171.1 MB / 1.334 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007411/1.262, allocations: 4.298 MB / 1.338 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/1.263, allocations: 22.19 kB / 1.338 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/1.265, allocations: 372.8 kB / 1.338 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003804/1.268, allocations: 1.261 MB / 1.339 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/1.271, allocations: 0.8036 MB / 1.34 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002763/1.274, allocations: 1.693 MB / 1.342 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008617/1.274, allocations: 0.5654 MB / 1.342 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/1.276, allocations: 0.7104 MB / 1.343 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/1.277, allocations: 0.5469 MB / 1.344 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/1.277, allocations: 64.56 kB / 1.344 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/1.279, allocations: 0.8065 MB / 1.345 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003185/1.28, allocations: 270.5 kB / 1.345 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004853/1.28, allocations: 406 kB / 1.345 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002073/1.282, allocations: 1.272 MB / 1.346 GB, free: 9.762 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.282, allocations: 0 / 1.346 GB, free: 9.762 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/1.282, allocations: 0 / 1.346 GB, free: 9.762 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.229e-05/1.282, allocations: 0 / 1.346 GB, free: 9.762 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001882/1.284, allocations: 1.055 MB / 1.347 GB, free: 9.016 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.284, allocations: 11.41 kB / 1.347 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/1.285, allocations: 165.3 kB / 1.348 GB, free: 8.965 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009255/1.286, allocations: 0.5461 MB / 1.348 GB, free: 8.586 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/1.286, allocations: 43.38 kB / 1.348 GB, free: 8.566 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/1.286, allocations: 50.09 kB / 1.348 GB, free: 8.551 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/1.288, allocations: 0.6547 MB / 1.349 GB, free: 8.273 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/1.288, allocations: 0 / 1.349 GB, free: 8.273 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/1.288, allocations: 30.62 kB / 1.349 GB, free: 8.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/1.288, allocations: 21.88 kB / 1.349 GB, free: 8.246 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009444/1.289, allocations: 0.5101 MB / 1.349 GB, free: 8.086 MB / 1.029 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.003493/1.292, allocations: 2.302 MB / 1.352 GB, free: 6.555 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/1.293, allocations: 253.2 kB / 1.352 GB, free: 6.453 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/1.293, allocations: 132.8 kB / 1.352 GB, free: 6.406 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/1.293, allocations: 6.922 kB / 1.352 GB, free: 6.402 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/1.293, allocations: 43.19 kB / 1.352 GB, free: 6.355 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/1.293, allocations: 0 / 1.352 GB, free: 6.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001697/1.295, allocations: 0.6776 MB / 1.353 GB, free: 5.969 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/1.295, allocations: 79.27 kB / 1.353 GB, free: 5.875 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006919/1.295, allocations: 0.5558 MB / 1.353 GB, free: 5.625 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/1.296, allocations: 32.86 kB / 1.353 GB, free: 5.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/1.296, allocations: 335.8 kB / 1.354 GB, free: 5.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/1.296, allocations: 83.72 kB / 1.354 GB, free: 5.254 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/1.296, allocations: 70.03 kB / 1.354 GB, free: 5.211 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.296, allocations: 363.6 kB / 1.354 GB, free: 4.875 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/1.296, allocations: 128.6 kB / 1.354 GB, free: 4.836 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/1.297, allocations: 215 kB / 1.355 GB, free: 4.699 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/1.297, allocations: 328.1 kB / 1.355 GB, free: 4.516 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.297, allocations: 3.625 kB / 1.355 GB, free: 4.516 MB / 1.029 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009262/1.298, allocations: 0.498 MB / 1.355 GB, free: 4.293 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.298, allocations: 7.969 kB / 1.355 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.298, allocations: 2.281 kB / 1.355 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/1.299, allocations: 95.02 kB / 1.355 GB, free: 4.258 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/1.299, allocations: 71.81 kB / 1.356 GB, free: 4.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/1.302, allocations: 3.338 MB / 1.359 GB, free: 1.219 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/1.303, allocations: 61.12 kB / 1.359 GB, free: 1.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/1.303, allocations: 12.06 kB / 1.359 GB, free: 1.18 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003894/1.303, allocations: 221.4 kB / 1.359 GB, free: 1.008 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/1.303, allocations: 60.64 kB / 1.359 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/1.303, allocations: 56.59 kB / 1.359 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.303, allocations: 2.5 kB / 1.359 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.303, allocations: 2.391 kB / 1.359 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007359/1.304, allocations: 0.5333 MB / 1.36 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/1.306, allocations: 0.9139 MB / 1.361 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.306, allocations: 0 / 1.361 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/1.306, allocations: 43.27 kB / 1.361 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000207/1.306, allocations: 70.64 kB / 1.361 GB, free: 15.94 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/1.306, allocations: 2.656 kB / 1.361 GB, free: 15.94 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/1.308, allocations: 1.829 MB / 1.362 GB, free: 14.35 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.308, allocations: 1.062 kB / 1.362 GB, free: 14.35 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007511/1.309, allocations: 444.9 kB / 1.363 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/1.309, allocations: 167.7 kB / 1.363 GB, free: 13.94 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/1.309, allocations: 12.88 kB / 1.363 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/1.309, allocations: 22.56 kB / 1.363 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/1.31, allocations: 19.48 kB / 1.363 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/1.31, allocations: 16.31 kB / 1.363 GB, free: 13.92 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006733/1.31, allocations: 399.6 kB / 1.364 GB, free: 13.69 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.81e-07/1.31, allocations: 1.156 kB / 1.364 GB, free: 13.69 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001392/1.312, allocations: 202.8 kB / 1.364 GB, free: 13.66 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005369/1.312, allocations: 177.2 kB / 1.364 GB, free: 13.54 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001128/1.313, allocations: 0.5264 MB / 1.364 GB, free: 13.16 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.313, allocations: 1.188 kB / 1.364 GB, free: 13.16 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003563/1.314, allocations: 248.2 kB / 1.365 GB, free: 12.98 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/1.315, allocations: 365.4 kB / 1.365 GB, free: 12.8 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/1.318, allocations: 1.006 MB / 1.366 GB, free: 12.16 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/1.318, allocations: 0.903 MB / 1.367 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004394/1.319, allocations: 121.7 kB / 1.367 GB, free: 11.3 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.842e-05/1.319, allocations: 37.25 kB / 1.367 GB, free: 11.29 MB / 1.045 GB Notification: Performance of SimCode: time 5.52e-07/1.319, allocations: 0 / 1.367 GB, free: 11.29 MB / 1.045 GB Notification: Performance of Templates: time 0.02256/1.341, allocations: 13.1 MB / 1.38 GB, free: 4.875 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches