Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001689/0.001689, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001787/0.001787, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.06 kB / 0.814 GB, free: 32.53 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3055, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.8896/1.195, allocations: 171.1 MB / 1.118 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007769/1.203, allocations: 4.291 MB / 1.122 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/1.204, allocations: 22.25 kB / 1.122 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/1.206, allocations: 361.8 kB / 1.123 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00417/1.21, allocations: 1.217 MB / 1.124 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002691/1.213, allocations: 0.7932 MB / 1.125 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003673/1.216, allocations: 1.689 MB / 1.126 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/1.218, allocations: 0.5568 MB / 1.127 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/1.22, allocations: 0.6857 MB / 1.128 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/1.221, allocations: 0.5533 MB / 1.128 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/1.222, allocations: 65.62 kB / 1.128 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/1.224, allocations: 0.7984 MB / 1.129 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004541/1.224, allocations: 273.2 kB / 1.129 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008584/1.225, allocations: 410.1 kB / 1.13 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003208/1.229, allocations: 1.266 MB / 1.131 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/1.229, allocations: 2.484 kB / 1.131 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.226e-06/1.229, allocations: 0 / 1.131 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.171e-05/1.229, allocations: 0 / 1.131 GB, free: 4.848 MB / 0.8575 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.002849/1.232, allocations: 1.028 MB / 1.132 GB, free: 20.26 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.232, allocations: 11.3 kB / 1.132 GB, free: 20.26 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/1.233, allocations: 158.6 kB / 1.132 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/1.234, allocations: 0.5467 MB / 1.133 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/1.234, allocations: 43.84 kB / 1.133 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/1.234, allocations: 48.16 kB / 1.133 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/1.235, allocations: 0.6481 MB / 1.133 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/1.235, allocations: 0 / 1.133 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.715e-05/1.235, allocations: 24.22 kB / 1.133 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-05/1.235, allocations: 28.03 kB / 1.133 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009466/1.236, allocations: 0.5146 MB / 1.134 GB, free: 19.86 MB / 0.8731 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.004062/1.24, allocations: 2.293 MB / 1.136 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/1.241, allocations: 254.3 kB / 1.136 GB, free: 18.78 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/1.241, allocations: 139.4 kB / 1.136 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/1.241, allocations: 3.406 kB / 1.136 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/1.241, allocations: 41.03 kB / 1.136 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 4.098e-06/1.241, allocations: 1.203 kB / 1.136 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.001943/1.243, allocations: 0.6743 MB / 1.137 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/1.243, allocations: 79.39 kB / 1.137 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008339/1.244, allocations: 0.5564 MB / 1.138 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/1.244, allocations: 31.39 kB / 1.138 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/1.245, allocations: 334.5 kB / 1.138 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.117e-05/1.245, allocations: 72 kB / 1.138 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/1.245, allocations: 74.64 kB / 1.138 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.245, allocations: 369.5 kB / 1.139 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/1.245, allocations: 123.9 kB / 1.139 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/1.246, allocations: 220.2 kB / 1.139 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005437/1.246, allocations: 335.6 kB / 1.139 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.246, allocations: 0 / 1.139 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001079/1.247, allocations: 0.4908 MB / 1.14 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/1.247, allocations: 6.062 kB / 1.14 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.247, allocations: 3.062 kB / 1.14 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/1.248, allocations: 95.39 kB / 1.14 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/1.248, allocations: 74.28 kB / 1.14 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/1.251, allocations: 3.34 MB / 1.143 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/1.252, allocations: 58.56 kB / 1.143 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/1.252, allocations: 12.47 kB / 1.143 GB, free: 14.61 MB / 0.8731 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.0004264/1.253, allocations: 219.3 kB / 1.143 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/1.253, allocations: 56.22 kB / 1.143 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/1.253, allocations: 54.8 kB / 1.144 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.253, allocations: 1.562 kB / 1.144 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.253, allocations: 4.344 kB / 1.144 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007793/1.254, allocations: 0.5356 MB / 1.144 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/1.255, allocations: 0.916 MB / 1.145 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.255, allocations: 1.156 kB / 1.145 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/1.256, allocations: 46.53 kB / 1.145 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002271/1.256, allocations: 65.75 kB / 1.145 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/1.256, allocations: 6.781 kB / 1.145 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/1.258, allocations: 1.815 MB / 1.147 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.258, allocations: 2.094 kB / 1.147 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007886/1.259, allocations: 435.1 kB / 1.147 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/1.259, allocations: 169.3 kB / 1.147 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/1.259, allocations: 10.09 kB / 1.147 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/1.259, allocations: 19.94 kB / 1.147 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-05/1.26, allocations: 24.56 kB / 1.147 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/1.26, allocations: 16.81 kB / 1.147 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005511/1.26, allocations: 406.7 kB / 1.148 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.26, allocations: 0 / 1.148 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008245/1.261, allocations: 205.5 kB / 1.148 GB, free: 11.96 MB / 0.8731 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.0004344/1.261, allocations: 153.7 kB / 1.148 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00101/1.262, allocations: 0.5294 MB / 1.149 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.262, allocations: 2.531 kB / 1.149 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/1.263, allocations: 256.4 kB / 1.149 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/1.264, allocations: 375.5 kB / 1.149 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/1.266, allocations: 0.9743 MB / 1.15 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/1.267, allocations: 0.9074 MB / 1.151 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005269/1.267, allocations: 120.6 kB / 1.151 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/1.268, allocations: 42.97 kB / 1.151 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of SimCode: time 9.12e-07/1.268, allocations: 0 / 1.151 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of Templates: time 0.02753/1.295, allocations: 12.99 MB / 1.164 GB, free: 7.289 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches