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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008069/0.008069, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001981/0.001981, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.407/1.407, 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.3-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.89 kB / 0.9509 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9894/0.9908, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05722/1.048, allocations: 49.77 MB / 1.137 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02353/1.072, allocations: 12.68 MB / 1.149 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004029/1.076, allocations: 83.16 kB / 1.149 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002805/1.079, allocations: 0.7754 MB / 1.15 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00655/1.085, allocations: 1.91 MB / 1.152 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004793/1.09, allocations: 1.366 MB / 1.153 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008751/1.099, allocations: 3.256 MB / 1.156 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00373/1.102, allocations: 1.262 MB / 1.157 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006075/1.109, allocations: 1.32 MB / 1.159 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003068/1.112, allocations: 0.9309 MB / 1.16 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006144/1.112, allocations: 95.38 kB / 1.16 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005135/1.117, allocations: 1.07 MB / 1.161 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0009353/1.118, allocations: 293.4 kB / 1.161 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002364/1.121, allocations: 0.6696 MB / 1.162 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007141/1.128, allocations: 1.947 MB / 1.164 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.128, allocations: 1.156 kB / 1.164 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.705e-06/1.128, allocations: 0 / 1.164 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.861e-05/1.128, allocations: 0 / 1.164 GB, free: 1.473 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.006495/1.135, allocations: 1.705 MB / 1.165 GB, free: 336 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/1.135, allocations: 13.34 kB / 1.165 GB, free: 332 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/1.136, allocations: 207.1 kB / 1.165 GB, free: 248 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004012/1.14, allocations: 1.092 MB / 1.166 GB, free: 15.6 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/1.14, allocations: 67.25 kB / 1.167 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/1.14, allocations: 83.44 kB / 1.167 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003376/1.144, allocations: 1.008 MB / 1.168 GB, free: 15.01 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/1.144, allocations: 5.766 kB / 1.168 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/1.144, allocations: 37 kB / 1.168 GB, free: 14.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/1.144, allocations: 25.91 kB / 1.168 GB, free: 14.97 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/1.147, allocations: 0.6496 MB / 1.168 GB, free: 14.73 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.006984/1.154, allocations: 4.721 MB / 1.173 GB, free: 10.49 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/1.155, allocations: 396.9 kB / 1.173 GB, free: 10.29 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004887/1.155, allocations: 217.2 kB / 1.174 GB, free: 10.18 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009351/1.156, allocations: 1.144 MB / 1.175 GB, free: 8.832 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/1.156, allocations: 41.25 kB / 1.175 GB, free: 8.785 MB / 0.92 GB Notification: Performance of pre-optimization done (n=29): time 3.066e-06/1.156, allocations: 0 / 1.175 GB, free: 8.785 MB / 0.92 GB Notification: Performance of matching and sorting (n=29): time 0.002854/1.159, allocations: 1.072 MB / 1.176 GB, free: 8.074 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/1.159, allocations: 61.59 kB / 1.176 GB, free: 8.004 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/1.161, allocations: 0.9793 MB / 1.177 GB, free: 7.457 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/1.161, allocations: 36.86 kB / 1.177 GB, free: 7.418 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004773/1.161, allocations: 0.5854 MB / 1.177 GB, free: 6.898 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/1.162, allocations: 121.9 kB / 1.177 GB, free: 6.793 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/1.162, allocations: 107.8 kB / 1.178 GB, free: 6.727 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.162, allocations: 327.2 kB / 1.178 GB, free: 6.406 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005355/1.162, allocations: 198.4 kB / 1.178 GB, free: 6.312 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/1.163, allocations: 406.1 kB / 1.178 GB, free: 5.961 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/1.164, allocations: 0.5925 MB / 1.179 GB, free: 5.504 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/1.164, allocations: 2.25 kB / 1.179 GB, free: 5.504 MB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001781/1.166, allocations: 0.7657 MB / 1.18 GB, free: 5.094 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.166, allocations: 7.906 kB / 1.18 GB, free: 5.094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.166, allocations: 7.031 kB / 1.18 GB, free: 5.094 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007027/1.167, allocations: 157.6 kB / 1.18 GB, free: 5.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/1.168, allocations: 141.2 kB / 1.18 GB, free: 4.973 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/1.169, allocations: 1.724 MB / 1.182 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008041/1.169, allocations: 85.03 kB / 1.182 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.629e-05/1.17, allocations: 31.27 kB / 1.182 GB, free: 3.23 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.0004596/1.17, allocations: 268.9 kB / 1.182 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/1.17, allocations: 108 kB / 1.182 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/1.172, allocations: 0.7165 MB / 1.183 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/1.172, allocations: 8.188 kB / 1.183 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.172, allocations: 3.938 kB / 1.183 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.172, allocations: 1.406 kB / 1.183 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003513/1.176, allocations: 1.628 MB / 1.185 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/1.176, allocations: 6.469 kB / 1.185 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/1.176, allocations: 89.14 kB / 1.185 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005747/1.177, allocations: 146.5 kB / 1.185 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/1.177, allocations: 17.27 kB / 1.185 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/1.178, allocations: 1.71 MB / 1.186 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.178, allocations: 5.344 kB / 1.186 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/1.18, allocations: 0.7735 MB / 1.187 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005518/1.18, allocations: 245.4 kB / 1.187 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/1.18, allocations: 16.59 kB / 1.187 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00068/1.181, allocations: 48.78 kB / 1.187 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.181, allocations: 32.28 kB / 1.188 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-05/1.181, allocations: 21.52 kB / 1.188 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001053/1.182, allocations: 0.6639 MB / 1.188 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/1.182, allocations: 0 / 1.188 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001455/1.184, allocations: 382.2 kB / 1.189 GB, free: 14.32 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.001109/1.185, allocations: 403.4 kB / 1.189 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001626/1.187, allocations: 0.5545 MB / 1.189 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.187, allocations: 3.938 kB / 1.189 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007974/1.187, allocations: 298.8 kB / 1.19 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/1.19, allocations: 0.5241 MB / 1.19 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/1.193, allocations: 1.793 MB / 1.192 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008558/1.194, allocations: 1.111 MB / 1.193 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007742/1.195, allocations: 185.4 kB / 1.193 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/1.195, allocations: 63.53 kB / 1.193 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of SimCode: time 1.122e-06/1.195, allocations: 0 / 1.193 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of Templates: time 0.04251/1.238, allocations: 20.79 MB / 1.214 GB, free: 12.12 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