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.00731/0.00731, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001758/0.001758, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.582/2.582, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3339, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.9158/1.25, allocations: 171.1 MB / 1.334 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007172/1.257, allocations: 4.301 MB / 1.338 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009474/1.258, allocations: 21.72 kB / 1.338 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/1.259, allocations: 349.1 kB / 1.338 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003547/1.263, allocations: 1.225 MB / 1.339 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/1.265, allocations: 0.7967 MB / 1.34 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002192/1.267, allocations: 1.694 MB / 1.342 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007885/1.268, allocations: 0.5558 MB / 1.342 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/1.269, allocations: 0.6848 MB / 1.343 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/1.27, allocations: 0.5521 MB / 1.344 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/1.27, allocations: 64.59 kB / 1.344 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/1.272, allocations: 0.8015 MB / 1.344 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/1.273, allocations: 266.1 kB / 1.345 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004352/1.273, allocations: 407.1 kB / 1.345 GB, free: 10.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/1.275, allocations: 1.277 MB / 1.346 GB, free: 9.719 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.275, allocations: 4 kB / 1.346 GB, free: 9.715 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.032e-06/1.275, allocations: 0 / 1.346 GB, free: 9.715 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.275, allocations: 0.875 kB / 1.346 GB, free: 9.715 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.001758/1.277, allocations: 1.055 MB / 1.347 GB, free: 8.969 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/1.277, allocations: 8.531 kB / 1.347 GB, free: 8.969 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009933/1.278, allocations: 163.9 kB / 1.348 GB, free: 8.922 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008027/1.278, allocations: 0.5424 MB / 1.348 GB, free: 8.547 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/1.279, allocations: 46.06 kB / 1.348 GB, free: 8.523 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/1.279, allocations: 54.17 kB / 1.348 GB, free: 8.504 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/1.28, allocations: 0.6509 MB / 1.349 GB, free: 8.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/1.28, allocations: 0 / 1.349 GB, free: 8.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/1.28, allocations: 33.89 kB / 1.349 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/1.28, allocations: 22.44 kB / 1.349 GB, free: 8.199 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009217/1.281, allocations: 0.5139 MB / 1.349 GB, free: 8.035 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.003284/1.284, allocations: 2.295 MB / 1.352 GB, free: 6.512 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/1.285, allocations: 255.3 kB / 1.352 GB, free: 6.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/1.285, allocations: 134.7 kB / 1.352 GB, free: 6.359 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/1.285, allocations: 13.94 kB / 1.352 GB, free: 6.352 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/1.285, allocations: 41.41 kB / 1.352 GB, free: 6.305 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/1.285, allocations: 1.094 kB / 1.352 GB, free: 6.305 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001663/1.287, allocations: 0.6721 MB / 1.353 GB, free: 5.922 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/1.287, allocations: 79.39 kB / 1.353 GB, free: 5.828 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/1.287, allocations: 0.5565 MB / 1.353 GB, free: 5.578 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/1.288, allocations: 31.73 kB / 1.353 GB, free: 5.543 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/1.288, allocations: 336.2 kB / 1.354 GB, free: 5.273 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.445e-05/1.288, allocations: 77.2 kB / 1.354 GB, free: 5.215 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/1.288, allocations: 72.98 kB / 1.354 GB, free: 5.168 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.288, allocations: 362.6 kB / 1.354 GB, free: 4.832 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/1.289, allocations: 129.3 kB / 1.354 GB, free: 4.793 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/1.289, allocations: 213.9 kB / 1.354 GB, free: 4.656 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000549/1.289, allocations: 327 kB / 1.355 GB, free: 4.473 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.289, allocations: 1.094 kB / 1.355 GB, free: 4.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009311/1.29, allocations: 0.5011 MB / 1.355 GB, free: 4.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.29, allocations: 7.438 kB / 1.355 GB, free: 4.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.29, allocations: 10.19 kB / 1.355 GB, free: 4.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003099/1.291, allocations: 94.14 kB / 1.355 GB, free: 4.207 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/1.291, allocations: 71.16 kB / 1.355 GB, free: 4.199 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/1.294, allocations: 3.341 MB / 1.359 GB, free: 1.168 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/1.295, allocations: 53.58 kB / 1.359 GB, free: 1.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/1.295, allocations: 15.98 kB / 1.359 GB, free: 1.129 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.000323/1.295, allocations: 219 kB / 1.359 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/1.295, allocations: 59.62 kB / 1.359 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/1.295, allocations: 57.41 kB / 1.359 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/1.295, allocations: 5.594 kB / 1.359 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/1.295, allocations: 1.531 kB / 1.359 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007889/1.296, allocations: 0.5305 MB / 1.36 GB, free: 476 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/1.298, allocations: 0.9144 MB / 1.36 GB, free: 15.92 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/1.298, allocations: 5.031 kB / 1.36 GB, free: 15.92 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/1.298, allocations: 43.27 kB / 1.361 GB, free: 15.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/1.298, allocations: 65.64 kB / 1.361 GB, free: 15.89 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/1.298, allocations: 9.516 kB / 1.361 GB, free: 15.89 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/1.3, allocations: 1.821 MB / 1.362 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.3, allocations: 1.125 kB / 1.362 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000718/1.301, allocations: 444.8 kB / 1.363 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/1.301, allocations: 168.1 kB / 1.363 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/1.301, allocations: 13.17 kB / 1.363 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/1.301, allocations: 24.41 kB / 1.363 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/1.301, allocations: 19.52 kB / 1.363 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/1.301, allocations: 10.88 kB / 1.363 GB, free: 13.88 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005079/1.302, allocations: 404.2 kB / 1.363 GB, free: 13.64 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/1.302, allocations: 0 / 1.363 GB, free: 13.64 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007821/1.303, allocations: 204.5 kB / 1.364 GB, free: 13.61 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.0003911/1.303, allocations: 170.6 kB / 1.364 GB, free: 13.48 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009545/1.304, allocations: 0.5257 MB / 1.364 GB, free: 13.11 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.304, allocations: 9.031 kB / 1.364 GB, free: 13.1 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003863/1.305, allocations: 249.8 kB / 1.365 GB, free: 12.92 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/1.306, allocations: 377.1 kB / 1.365 GB, free: 12.73 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/1.308, allocations: 1.001 MB / 1.366 GB, free: 12.09 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/1.308, allocations: 0.9055 MB / 1.367 GB, free: 11.29 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004511/1.309, allocations: 108 kB / 1.367 GB, free: 11.25 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.582e-05/1.309, allocations: 43.41 kB / 1.367 GB, free: 11.24 MB / 1.045 GB Notification: Performance of SimCode: time 2.2e-07/1.309, allocations: 0 / 1.367 GB, free: 11.24 MB / 1.045 GB Notification: Performance of Templates: time 0.02097/1.33, allocations: 13.1 MB / 1.38 GB, free: 4.828 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