Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.004658/0.004658, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001077/0.001077, allocations: 202.1 kB / 16.68 MB, free: 5.926 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.951/0.9523, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05727/1.01, allocations: 49.78 MB / 1.137 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02334/1.033, allocations: 12.68 MB / 1.149 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004748/1.038, allocations: 78.09 kB / 1.149 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003248/1.041, allocations: 0.7642 MB / 1.15 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008297/1.049, allocations: 1.817 MB / 1.152 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005194/1.055, allocations: 1.362 MB / 1.153 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007121/1.062, allocations: 3.258 MB / 1.156 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002528/1.064, allocations: 1.255 MB / 1.157 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00466/1.069, allocations: 1.296 MB / 1.159 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/1.072, allocations: 0.9386 MB / 1.159 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003187/1.072, allocations: 96.06 kB / 1.16 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003947/1.076, allocations: 1.066 MB / 1.161 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004425/1.076, allocations: 292.7 kB / 1.161 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/1.078, allocations: 0.6773 MB / 1.161 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00463/1.082, allocations: 1.943 MB / 1.163 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.082, allocations: 0.875 kB / 1.163 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.913e-06/1.082, allocations: 0 / 1.163 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.088e-05/1.082, allocations: 0 / 1.163 GB, free: 1.551 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003225/1.086, allocations: 1.706 MB / 1.165 GB, free: 416 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.086, allocations: 9.422 kB / 1.165 GB, free: 416 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007067/1.086, allocations: 206.6 kB / 1.165 GB, free: 336 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/1.089, allocations: 1.092 MB / 1.166 GB, free: 15.69 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.771e-05/1.089, allocations: 62.12 kB / 1.166 GB, free: 15.66 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/1.089, allocations: 92.64 kB / 1.166 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/1.091, allocations: 0.9989 MB / 1.167 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/1.091, allocations: 5.156 kB / 1.167 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.249e-05/1.091, allocations: 37.84 kB / 1.167 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/1.091, allocations: 22.03 kB / 1.168 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/1.093, allocations: 0.6483 MB / 1.168 GB, free: 14.86 MB / 0.92 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.005928/1.099, allocations: 4.719 MB / 1.173 GB, free: 10.63 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/1.1, allocations: 399.3 kB / 1.173 GB, free: 10.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/1.1, allocations: 220.2 kB / 1.173 GB, free: 10.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009702/1.101, allocations: 1.152 MB / 1.174 GB, free: 8.961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/1.102, allocations: 40.78 kB / 1.175 GB, free: 8.914 MB / 0.92 GB Notification: Performance of pre-optimization done (n=29): time 2.485e-06/1.102, allocations: 0 / 1.175 GB, free: 8.914 MB / 0.92 GB Notification: Performance of matching and sorting (n=29): time 0.003195/1.105, allocations: 1.071 MB / 1.176 GB, free: 8.203 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/1.105, allocations: 62.34 kB / 1.176 GB, free: 8.133 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/1.106, allocations: 0.9761 MB / 1.177 GB, free: 7.59 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/1.106, allocations: 36.39 kB / 1.177 GB, free: 7.551 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004743/1.107, allocations: 0.5893 MB / 1.177 GB, free: 7.027 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/1.107, allocations: 113.5 kB / 1.177 GB, free: 6.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/1.107, allocations: 112.6 kB / 1.177 GB, free: 6.859 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.107, allocations: 326.9 kB / 1.178 GB, free: 6.539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/1.108, allocations: 198.7 kB / 1.178 GB, free: 6.445 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/1.109, allocations: 406 kB / 1.178 GB, free: 6.094 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/1.11, allocations: 0.596 MB / 1.179 GB, free: 5.633 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.11, allocations: 2.344 kB / 1.179 GB, free: 5.633 MB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001934/1.112, allocations: 0.7611 MB / 1.18 GB, free: 5.227 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/1.112, allocations: 8.406 kB / 1.18 GB, free: 5.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.112, allocations: 6.781 kB / 1.18 GB, free: 5.227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007209/1.112, allocations: 153.8 kB / 1.18 GB, free: 5.148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/1.113, allocations: 145.8 kB / 1.18 GB, free: 5.105 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/1.114, allocations: 1.723 MB / 1.182 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009005/1.115, allocations: 85.72 kB / 1.182 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.04e-05/1.115, allocations: 30.73 kB / 1.182 GB, free: 3.363 MB / 0.92 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.0005805/1.116, allocations: 268 kB / 1.182 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/1.116, allocations: 106.8 kB / 1.182 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/1.118, allocations: 0.7184 MB / 1.183 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/1.118, allocations: 10.58 kB / 1.183 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.118, allocations: 5.344 kB / 1.183 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.118, allocations: 4 kB / 1.183 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/1.122, allocations: 1.628 MB / 1.184 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.122, allocations: 2.25 kB / 1.184 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/1.122, allocations: 85.66 kB / 1.184 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006485/1.123, allocations: 155.7 kB / 1.185 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/1.123, allocations: 20.02 kB / 1.185 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/1.124, allocations: 1.701 MB / 1.186 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.124, allocations: 1.406 kB / 1.186 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/1.126, allocations: 0.7818 MB / 1.187 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006281/1.127, allocations: 245.3 kB / 1.187 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/1.127, allocations: 8.156 kB / 1.187 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008211/1.128, allocations: 44.89 kB / 1.187 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.128, allocations: 36.17 kB / 1.187 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.295e-05/1.128, allocations: 25.7 kB / 1.187 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001408/1.129, allocations: 0.6593 MB / 1.188 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.129, allocations: 0 / 1.188 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001772/1.131, allocations: 382.8 kB / 1.188 GB, free: 14.46 MB / 0.9356 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.001511/1.133, allocations: 400.9 kB / 1.189 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001992/1.135, allocations: 0.5654 MB / 1.189 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.135, allocations: 0 / 1.189 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009529/1.136, allocations: 295.6 kB / 1.19 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/1.139, allocations: 0.5278 MB / 1.19 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/1.143, allocations: 1.798 MB / 1.192 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/1.144, allocations: 1.107 MB / 1.193 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001379/1.145, allocations: 187 kB / 1.193 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/1.146, allocations: 66.98 kB / 1.193 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of SimCode: time 1.913e-06/1.146, allocations: 0 / 1.193 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of Templates: time 0.0469/1.193, allocations: 20.66 MB / 1.213 GB, free: 12.43 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches