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.001413/0.001412, allocations: 109.3 kB / 15.99 MB, free: 5.91 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.00158/0.00158, allocations: 192.2 kB / 16.91 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.457/2.457, allocations: 437 MB / 0.7107 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.88 kB / 0.8694 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3199, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.7673/1.087, allocations: 168.8 MB / 1.182 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00751/1.095, allocations: 4.268 MB / 1.186 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/1.096, allocations: 19.56 kB / 1.186 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/1.098, allocations: 322.6 kB / 1.187 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004189/1.102, allocations: 1.14 MB / 1.188 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002796/1.105, allocations: 0.7287 MB / 1.189 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00303/1.108, allocations: 1.695 MB / 1.19 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009039/1.109, allocations: 0.5544 MB / 1.191 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/1.11, allocations: 0.6825 MB / 1.191 GB, free: 400 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/1.112, allocations: 0.5972 MB / 1.192 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/1.112, allocations: 65.28 kB / 1.192 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/1.114, allocations: 0.8348 MB / 1.193 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003311/1.114, allocations: 277.5 kB / 1.193 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005215/1.114, allocations: 407.2 kB / 1.194 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/1.116, allocations: 0.9583 MB / 1.195 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.116, allocations: 0 / 1.195 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.853e-06/1.116, allocations: 5.281 kB / 1.195 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.22e-05/1.116, allocations: 0 / 1.195 GB, free: 14.55 MB / 0.9044 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.002011/1.118, allocations: 1.032 MB / 1.196 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/1.118, allocations: 10.55 kB / 1.196 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/1.119, allocations: 161.2 kB / 1.196 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008386/1.12, allocations: 0.5222 MB / 1.196 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/1.12, allocations: 44.94 kB / 1.196 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-05/1.12, allocations: 51.28 kB / 1.196 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/1.121, allocations: 0.6486 MB / 1.197 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/1.121, allocations: 0 / 1.197 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/1.121, allocations: 23.78 kB / 1.197 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/1.121, allocations: 29.38 kB / 1.197 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009103/1.122, allocations: 0.5114 MB / 1.197 GB, free: 12.52 MB / 0.9044 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.003446/1.126, allocations: 2.307 MB / 1.2 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/1.126, allocations: 263 kB / 1.2 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/1.127, allocations: 131 kB / 1.2 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/1.127, allocations: 1.406 kB / 1.2 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/1.127, allocations: 41.38 kB / 1.2 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 2.675e-06/1.127, allocations: 4 kB / 1.2 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.001747/1.128, allocations: 0.6647 MB / 1.201 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/1.128, allocations: 79.67 kB / 1.201 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006412/1.129, allocations: 0.5679 MB / 1.201 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/1.129, allocations: 35.5 kB / 1.201 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/1.129, allocations: 333 kB / 1.202 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/1.129, allocations: 66.8 kB / 1.202 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/1.13, allocations: 73.27 kB / 1.202 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.13, allocations: 359.8 kB / 1.202 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/1.13, allocations: 132.2 kB / 1.202 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/1.13, allocations: 216.9 kB / 1.203 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/1.131, allocations: 330.5 kB / 1.203 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.131, allocations: 0 / 1.203 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008884/1.132, allocations: 496.8 kB / 1.203 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.132, allocations: 8.562 kB / 1.203 GB, free: 7.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/1.132, allocations: 2.875 kB / 1.203 GB, free: 7.949 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000319/1.132, allocations: 90.72 kB / 1.203 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/1.132, allocations: 75.61 kB / 1.204 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/1.136, allocations: 3.363 MB / 1.207 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006403/1.136, allocations: 63.8 kB / 1.207 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/1.136, allocations: 13.72 kB / 1.207 GB, free: 4.621 MB / 0.9044 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.0003562/1.137, allocations: 216.2 kB / 1.207 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/1.137, allocations: 57.56 kB / 1.207 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/1.137, allocations: 58.06 kB / 1.207 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/1.137, allocations: 2.469 kB / 1.207 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.137, allocations: 0 / 1.207 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007189/1.138, allocations: 0.5365 MB / 1.208 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/1.139, allocations: 0.917 MB / 1.209 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.139, allocations: 0 / 1.209 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/1.139, allocations: 48.28 kB / 1.209 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/1.139, allocations: 66.22 kB / 1.209 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/1.139, allocations: 3.984 kB / 1.209 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/1.141, allocations: 1.823 MB / 1.211 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.141, allocations: 0 / 1.211 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/1.142, allocations: 438.8 kB / 1.211 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/1.142, allocations: 170.9 kB / 1.211 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.239e-05/1.142, allocations: 7.938 kB / 1.211 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/1.142, allocations: 33.28 kB / 1.211 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/1.143, allocations: 20.12 kB / 1.211 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/1.143, allocations: 14.19 kB / 1.211 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004672/1.143, allocations: 401.4 kB / 1.212 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/1.143, allocations: 0 / 1.212 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007508/1.144, allocations: 207.8 kB / 1.212 GB, free: 0.6797 MB / 0.9044 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.0004402/1.144, allocations: 175.3 kB / 1.212 GB, free: 0.5508 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009079/1.145, allocations: 0.5336 MB / 1.212 GB, free: 176 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.145, allocations: 4.062 kB / 1.212 GB, free: 172 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003686/1.146, allocations: 260.9 kB / 1.213 GB, free: 15.97 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/1.147, allocations: 375.3 kB / 1.213 GB, free: 15.78 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/1.149, allocations: 1.245 MB / 1.214 GB, free: 14.91 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/1.15, allocations: 0.9029 MB / 1.215 GB, free: 14.11 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/1.15, allocations: 44.19 kB / 1.215 GB, free: 14.1 MB / 0.92 GB Notification: Performance of SimCode: time 4.91e-07/1.15, allocations: 0 / 1.215 GB, free: 14.1 MB / 0.92 GB Notification: Performance of Templates: time 0.01903/1.169, allocations: 13.42 MB / 1.228 GB, free: 0.9609 MB / 0.92 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches