Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001288/0.001288, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.00129/0.00129, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.638/2.638, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 61.03 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3328, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04866/0.3815, allocations: 49.79 MB / 1.075 GB, free: 124 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6552/1.037, allocations: 12.66 MB / 1.088 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003796/1.041, allocations: 86.22 kB / 1.088 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002787/1.043, allocations: 0.7533 MB / 1.089 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007161/1.051, allocations: 1.83 MB / 1.09 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004684/1.055, allocations: 1.363 MB / 1.092 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007529/1.063, allocations: 3.256 MB / 1.095 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003075/1.066, allocations: 1.247 MB / 1.096 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004822/1.071, allocations: 1.309 MB / 1.097 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/1.074, allocations: 0.932 MB / 1.098 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003954/1.074, allocations: 96.34 kB / 1.098 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003678/1.078, allocations: 1.066 MB / 1.099 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003991/1.078, allocations: 293.2 kB / 1.1 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/1.079, allocations: 0.6727 MB / 1.1 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004244/1.084, allocations: 1.945 MB / 1.102 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/1.084, allocations: 1.219 kB / 1.102 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.234e-06/1.084, allocations: 4 kB / 1.102 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.391e-05/1.084, allocations: 0 / 1.102 GB, free: 9.051 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.004254/1.088, allocations: 1.703 MB / 1.104 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.088, allocations: 9.062 kB / 1.104 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008394/1.089, allocations: 207 kB / 1.104 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/1.091, allocations: 1.097 MB / 1.105 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.48e-05/1.091, allocations: 66.41 kB / 1.105 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/1.092, allocations: 87.31 kB / 1.105 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/1.093, allocations: 1 MB / 1.106 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/1.093, allocations: 9.344 kB / 1.106 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/1.093, allocations: 39.36 kB / 1.106 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/1.093, allocations: 20.62 kB / 1.106 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/1.095, allocations: 0.6475 MB / 1.107 GB, free: 6.402 MB / 0.8419 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.006079/1.101, allocations: 4.72 MB / 1.112 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/1.102, allocations: 397.4 kB / 1.112 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/1.103, allocations: 221.9 kB / 1.112 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007055/1.104, allocations: 1.147 MB / 1.113 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/1.104, allocations: 40.84 kB / 1.113 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=29): time 2.334e-06/1.104, allocations: 0 / 1.113 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29): time 0.002864/1.106, allocations: 1.079 MB / 1.114 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/1.106, allocations: 54.56 kB / 1.114 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/1.108, allocations: 0.9806 MB / 1.115 GB, free: 156 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/1.108, allocations: 32.88 kB / 1.115 GB, free: 120 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009107/1.109, allocations: 0.6286 MB / 1.116 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/1.109, allocations: 105.8 kB / 1.116 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/1.109, allocations: 112.3 kB / 1.116 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.109, allocations: 323.9 kB / 1.117 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/1.11, allocations: 199 kB / 1.117 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/1.111, allocations: 408.3 kB / 1.117 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/1.112, allocations: 0.5896 MB / 1.118 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.112, allocations: 10 kB / 1.118 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001843/1.114, allocations: 0.7537 MB / 1.118 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/1.114, allocations: 8.938 kB / 1.118 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.114, allocations: 10.59 kB / 1.118 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007258/1.115, allocations: 159 kB / 1.119 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006325/1.115, allocations: 149 kB / 1.119 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/1.116, allocations: 1.721 MB / 1.12 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008941/1.117, allocations: 86.78 kB / 1.121 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/1.117, allocations: 30.73 kB / 1.121 GB, free: 12.57 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.000543/1.118, allocations: 272.5 kB / 1.121 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/1.118, allocations: 110.5 kB / 1.121 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/1.12, allocations: 0.7195 MB / 1.122 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/1.12, allocations: 4.906 kB / 1.122 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.12, allocations: 7.938 kB / 1.122 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/1.12, allocations: 2.906 kB / 1.122 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003313/1.123, allocations: 1.635 MB / 1.123 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/1.123, allocations: 2.219 kB / 1.123 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/1.124, allocations: 86.52 kB / 1.123 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006154/1.125, allocations: 153.7 kB / 1.123 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/1.125, allocations: 15.58 kB / 1.123 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/1.126, allocations: 1.705 MB / 1.125 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/1.126, allocations: 5.344 kB / 1.125 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002423/1.128, allocations: 0.7809 MB / 1.126 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008924/1.129, allocations: 242.3 kB / 1.126 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/1.129, allocations: 8.703 kB / 1.126 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006624/1.13, allocations: 46.77 kB / 1.126 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/1.13, allocations: 35.11 kB / 1.126 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.3e-05/1.13, allocations: 20.95 kB / 1.126 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001468/1.132, allocations: 0.659 MB / 1.127 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.31e-07/1.132, allocations: 0 / 1.127 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002599/1.134, allocations: 376.9 kB / 1.127 GB, free: 8.504 MB / 0.8575 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.001589/1.136, allocations: 413.9 kB / 1.128 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00222/1.138, allocations: 0.5527 MB / 1.128 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.138, allocations: 0 / 1.128 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001/1.139, allocations: 297.4 kB / 1.128 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/1.142, allocations: 0.5196 MB / 1.129 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/1.146, allocations: 1.807 MB / 1.131 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007737/1.147, allocations: 1.107 MB / 1.132 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0007986/1.147, allocations: 195.8 kB / 1.132 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/1.148, allocations: 70.31 kB / 1.132 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of SimCode: time 9.52e-07/1.148, allocations: 0 / 1.132 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of Templates: time 0.04034/1.188, allocations: 20.64 MB / 1.152 GB, free: 13.88 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches