Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 108 kB / 15.61 MB, free: 148 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.001711/0.001711, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.591/2.591, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 71.88 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7373/0.7386, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05117/0.7899, allocations: 49.79 MB / 1.066 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01983/0.8097, allocations: 12.68 MB / 1.078 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003024/0.8128, allocations: 83.56 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.8148, allocations: 0.7604 MB / 1.079 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004555/0.8194, allocations: 1.823 MB / 1.081 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.8227, allocations: 1.345 MB / 1.082 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003876/0.8266, allocations: 3.254 MB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.8282, allocations: 1.252 MB / 1.087 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003201/0.8314, allocations: 1.288 MB / 1.088 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/0.8329, allocations: 0.933 MB / 1.089 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.8331, allocations: 96 kB / 1.089 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.8358, allocations: 1.06 MB / 1.09 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000317/0.8361, allocations: 282.8 kB / 1.09 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007509/0.8369, allocations: 0.6877 MB / 1.091 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.8397, allocations: 1.904 MB / 1.093 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.8397, allocations: 4 kB / 1.093 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8397, allocations: 0 / 1.093 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.8397, allocations: 4 kB / 1.093 GB, free: 5.023 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002769/0.8425, allocations: 1.707 MB / 1.094 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.8426, allocations: 15.98 kB / 1.094 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006433/0.8432, allocations: 211 kB / 1.095 GB, free: 3.043 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.8449, allocations: 1.026 MB / 1.096 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003674/0.8453, allocations: 122.2 kB / 1.096 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.8454, allocations: 84 kB / 1.096 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.847, allocations: 1.015 MB / 1.097 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.8471, allocations: 0 / 1.097 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.8472, allocations: 40 kB / 1.097 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.8472, allocations: 20 kB / 1.097 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.8487, allocations: 0.6555 MB / 1.097 GB, free: 15.95 MB / 0.8575 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.004949/0.8536, allocations: 4.768 MB / 1.102 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.8549, allocations: 418.5 kB / 1.103 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005576/0.8555, allocations: 224.7 kB / 1.103 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009465/0.8564, allocations: 1.144 MB / 1.104 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.8565, allocations: 34.56 kB / 1.104 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=29): time 2.395e-06/0.8565, allocations: 0 / 1.104 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29): time 0.002952/0.8594, allocations: 1.094 MB / 1.105 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.8595, allocations: 59.34 kB / 1.105 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.8606, allocations: 0.9754 MB / 1.106 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.8607, allocations: 37.7 kB / 1.106 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.8611, allocations: 0.5811 MB / 1.107 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.8612, allocations: 110.5 kB / 1.107 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.8614, allocations: 106.1 kB / 1.107 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8615, allocations: 334 kB / 1.107 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/0.8621, allocations: 200.9 kB / 1.107 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007363/0.8629, allocations: 406.3 kB / 1.108 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.8642, allocations: 0.6176 MB / 1.108 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.8642, allocations: 4.062 kB / 1.108 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001821/0.866, allocations: 0.7758 MB / 1.109 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.8661, allocations: 8 kB / 1.109 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.8661, allocations: 4 kB / 1.109 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006703/0.8667, allocations: 154.8 kB / 1.109 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.8674, allocations: 151.8 kB / 1.109 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.8685, allocations: 1.723 MB / 1.111 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007043/0.8693, allocations: 87.25 kB / 1.111 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.8693, allocations: 31.98 kB / 1.111 GB, free: 1 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004288/0.8698, allocations: 269.7 kB / 1.111 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.8699, allocations: 110.6 kB / 1.111 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.8718, allocations: 0.723 MB / 1.112 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.8718, allocations: 15.92 kB / 1.112 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.8718, allocations: 7.984 kB / 1.112 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.8718, allocations: 0 / 1.112 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.8747, allocations: 1.649 MB / 1.114 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.8748, allocations: 4 kB / 1.114 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004899/0.8753, allocations: 92.03 kB / 1.114 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005315/0.8758, allocations: 150.4 kB / 1.114 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.8759, allocations: 19.98 kB / 1.114 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.8769, allocations: 1.708 MB / 1.116 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8769, allocations: 0 / 1.116 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.8785, allocations: 0.7917 MB / 1.117 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.8789, allocations: 251.5 kB / 1.117 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.879, allocations: 8 kB / 1.117 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.8796, allocations: 43.95 kB / 1.117 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/0.8797, allocations: 39.83 kB / 1.117 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.8797, allocations: 19.98 kB / 1.117 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008088/0.8805, allocations: 0.658 MB / 1.118 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8805, allocations: 0 / 1.118 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001061/0.8816, allocations: 371.2 kB / 1.118 GB, free: 9.832 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008235/0.8824, allocations: 414.7 kB / 1.118 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.8841, allocations: 0.5831 MB / 1.119 GB, free: 8.844 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.8841, allocations: 4 kB / 1.119 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008137/0.8849, allocations: 288 kB / 1.119 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.8872, allocations: 0.5289 MB / 1.12 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.8905, allocations: 1.843 MB / 1.121 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007236/0.8913, allocations: 1.099 MB / 1.122 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007406/0.892, allocations: 201.4 kB / 1.123 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.8922, allocations: 71.42 kB / 1.123 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of SimCode: time 6.61e-07/0.8922, allocations: 0 / 1.123 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of Templates: time 0.03623/0.9284, allocations: 20.65 MB / 1.143 GB, free: 404 kB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches