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.001875/0.001875, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001954/0.001954, allocations: 192.4 kB / 16.25 MB, free: 6.633 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.766/2.766, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002008, allocations: 63.91 kB / 0.8687 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6577/0.6598, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2142/0.874, allocations: 168.8 MB / 1.182 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007598/0.8817, allocations: 4.282 MB / 1.186 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007076/0.8824, allocations: 19.88 kB / 1.186 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.8835, allocations: 310.5 kB / 1.186 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.8863, allocations: 1.14 MB / 1.187 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.8883, allocations: 0.737 MB / 1.188 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002269/0.8905, allocations: 1.695 MB / 1.19 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008142/0.8914, allocations: 0.5582 MB / 1.19 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.8926, allocations: 0.6772 MB / 1.191 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.8939, allocations: 0.5989 MB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.8941, allocations: 64 kB / 1.191 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.8958, allocations: 0.8339 MB / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.8961, allocations: 271.3 kB / 1.193 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005019/0.8966, allocations: 414.2 kB / 1.193 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.8985, allocations: 1.305 MB / 1.194 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.8986, allocations: 0 / 1.194 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8986, allocations: 0 / 1.194 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.8986, allocations: 0 / 1.194 GB, free: 12.37 MB / 0.9512 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.002002/0.9006, allocations: 1.04 MB / 1.195 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.9006, allocations: 12.03 kB / 1.195 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.9017, allocations: 159.1 kB / 1.195 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008606/0.9026, allocations: 0.5287 MB / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.9026, allocations: 37.31 kB / 1.196 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.202e-05/0.9027, allocations: 52 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.9039, allocations: 0.6596 MB / 1.197 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.9039, allocations: 0 / 1.197 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/0.904, allocations: 24 kB / 1.197 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.9041, allocations: 25.25 kB / 1.197 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009793/0.905, allocations: 0.5087 MB / 1.197 GB, free: 9.227 MB / 0.9512 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.003699/0.9088, allocations: 2.305 MB / 1.199 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005643/0.9093, allocations: 258.8 kB / 1.2 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.9096, allocations: 132.8 kB / 1.2 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-05/0.9097, allocations: 7.938 kB / 1.2 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.9097, allocations: 34.56 kB / 1.2 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 2.294e-06/0.9097, allocations: 0 / 1.2 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001838/0.9116, allocations: 0.6664 MB / 1.2 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.9116, allocations: 77.11 kB / 1.201 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007342/0.9124, allocations: 0.5652 MB / 1.201 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.9124, allocations: 29.7 kB / 1.201 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.9127, allocations: 339.1 kB / 1.201 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.9128, allocations: 67.02 kB / 1.202 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.913, allocations: 73.92 kB / 1.202 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.9131, allocations: 362.7 kB / 1.202 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.9134, allocations: 136.5 kB / 1.202 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.9137, allocations: 214.7 kB / 1.202 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/0.9143, allocations: 328.9 kB / 1.203 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9143, allocations: 0 / 1.203 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009536/0.9153, allocations: 0.4945 MB / 1.203 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.9153, allocations: 6.344 kB / 1.203 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.9153, allocations: 4 kB / 1.203 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003309/0.9157, allocations: 97.94 kB / 1.203 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.916, allocations: 67.89 kB / 1.203 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/0.9196, allocations: 3.367 MB / 1.207 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006008/0.9202, allocations: 59.45 kB / 1.207 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.9203, allocations: 12 kB / 1.207 GB, free: 14.92 MB / 0.9669 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.0003734/0.9206, allocations: 217.7 kB / 1.207 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.9208, allocations: 55.34 kB / 1.207 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.9209, allocations: 56.5 kB / 1.207 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.9209, allocations: 4 kB / 1.207 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.9209, allocations: 3.938 kB / 1.207 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008157/0.9217, allocations: 0.5324 MB / 1.207 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.9232, allocations: 0.9184 MB / 1.208 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.9232, allocations: 7.938 kB / 1.208 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.9234, allocations: 39.97 kB / 1.208 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002223/0.9237, allocations: 64.88 kB / 1.208 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.9237, allocations: 7.984 kB / 1.208 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.9257, allocations: 1.813 MB / 1.21 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.9257, allocations: 3.938 kB / 1.21 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.9264, allocations: 437.3 kB / 1.211 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.9267, allocations: 176.3 kB / 1.211 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-05/0.9268, allocations: 7.922 kB / 1.211 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.9273, allocations: 39.34 kB / 1.211 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.9274, allocations: 19.97 kB / 1.211 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/0.9274, allocations: 16 kB / 1.211 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005764/0.928, allocations: 402.8 kB / 1.211 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.928, allocations: 0 / 1.211 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007711/0.9288, allocations: 211.6 kB / 1.211 GB, free: 9.59 MB / 0.9669 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.0004389/0.9292, allocations: 152.6 kB / 1.212 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.9303, allocations: 0.5552 MB / 1.212 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9303, allocations: 0 / 1.212 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.9307, allocations: 259.2 kB / 1.212 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.9324, allocations: 360.5 kB / 1.213 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.9343, allocations: 1.197 MB / 1.214 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.9349, allocations: 0.9132 MB / 1.215 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004954/0.9354, allocations: 116.8 kB / 1.215 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/0.9355, allocations: 35.44 kB / 1.215 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.9355, allocations: 0 / 1.215 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of Templates: time 0.02488/0.9604, allocations: 12.88 MB / 1.228 GB, free: 9.258 MB / 0.9825 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=400 -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