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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001447/0.001447, allocations: 108 kB / 15.6 MB, free: 132 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.001185/0.001185, allocations: 193 kB / 16.53 MB, free: 6.391 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.905/2.905, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 62.72 kB / 0.912 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.373, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05451/0.4276, allocations: 49.79 MB / 1.117 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02537/0.453, allocations: 12.68 MB / 1.129 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004348/0.4574, allocations: 79.56 kB / 1.129 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.4605, allocations: 0.7565 MB / 1.13 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00746/0.468, allocations: 1.834 MB / 1.132 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004707/0.4728, allocations: 1.342 MB / 1.133 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006055/0.4788, allocations: 3.252 MB / 1.136 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.4816, allocations: 1.258 MB / 1.138 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004511/0.4862, allocations: 1.288 MB / 1.139 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002294/0.4885, allocations: 0.9291 MB / 1.14 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004628/0.489, allocations: 96 kB / 1.14 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.4925, allocations: 1.057 MB / 1.141 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006378/0.4931, allocations: 290.8 kB / 1.141 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.4948, allocations: 0.6761 MB / 1.142 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004723/0.4995, allocations: 1.92 MB / 1.144 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4995, allocations: 0 / 1.144 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4995, allocations: 0 / 1.144 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.917e-05/0.4996, allocations: 0 / 1.144 GB, free: 12.89 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.004122/0.5037, allocations: 1.701 MB / 1.145 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.5038, allocations: 8.031 kB / 1.145 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008622/0.5047, allocations: 207.1 kB / 1.146 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002548/0.5072, allocations: 1.038 MB / 1.147 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003995/0.5077, allocations: 122.2 kB / 1.147 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.5078, allocations: 80 kB / 1.147 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.5099, allocations: 1.011 MB / 1.148 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.5099, allocations: 3.938 kB / 1.148 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.354e-05/0.51, allocations: 39.94 kB / 1.148 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.5101, allocations: 24 kB / 1.148 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.5118, allocations: 0.6594 MB / 1.148 GB, free: 7.82 MB / 0.9044 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.00657/0.5183, allocations: 4.763 MB / 1.153 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.5197, allocations: 417 kB / 1.153 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006139/0.5203, allocations: 221.5 kB / 1.154 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/0.5214, allocations: 1.148 MB / 1.155 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.5215, allocations: 34.56 kB / 1.155 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=29): time 4.839e-06/0.5215, allocations: 7.984 kB / 1.155 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.003344/0.5248, allocations: 1.092 MB / 1.156 GB, free: 15.54 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.5249, allocations: 59.34 kB / 1.156 GB, free: 15.46 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.5264, allocations: 0.9715 MB / 1.157 GB, free: 14.48 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.415e-05/0.5265, allocations: 29.7 kB / 1.157 GB, free: 14.45 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/0.527, allocations: 0.5888 MB / 1.158 GB, free: 13.85 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.5271, allocations: 106.5 kB / 1.158 GB, free: 13.75 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.5273, allocations: 118 kB / 1.158 GB, free: 13.62 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5275, allocations: 322 kB / 1.158 GB, free: 13.3 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.528, allocations: 212.9 kB / 1.158 GB, free: 13.1 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007307/0.5288, allocations: 410.3 kB / 1.159 GB, free: 12.61 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.5301, allocations: 0.6018 MB / 1.159 GB, free: 11.92 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.5301, allocations: 4 kB / 1.159 GB, free: 11.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001909/0.532, allocations: 0.7648 MB / 1.16 GB, free: 11.13 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.5321, allocations: 8 kB / 1.16 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.5321, allocations: 8 kB / 1.16 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007445/0.5329, allocations: 163.1 kB / 1.16 GB, free: 10.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/0.5335, allocations: 151.8 kB / 1.16 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.5347, allocations: 1.716 MB / 1.162 GB, free: 9.008 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008435/0.5355, allocations: 91.39 kB / 1.162 GB, free: 8.918 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/0.5356, allocations: 27.98 kB / 1.162 GB, free: 8.891 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.0005462/0.5362, allocations: 276 kB / 1.162 GB, free: 8.613 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/0.5365, allocations: 110.6 kB / 1.162 GB, free: 8.504 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.5384, allocations: 0.7386 MB / 1.163 GB, free: 7.742 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.5384, allocations: 11.88 kB / 1.163 GB, free: 7.73 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5384, allocations: 0 / 1.163 GB, free: 7.73 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.5385, allocations: 3.984 kB / 1.163 GB, free: 7.727 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003219/0.5417, allocations: 1.648 MB / 1.165 GB, free: 6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.5417, allocations: 4.188 kB / 1.165 GB, free: 5.996 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.5422, allocations: 87.84 kB / 1.165 GB, free: 5.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005694/0.5428, allocations: 158.6 kB / 1.165 GB, free: 5.746 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.5428, allocations: 8 kB / 1.165 GB, free: 5.738 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.5439, allocations: 1.708 MB / 1.167 GB, free: 3.953 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5439, allocations: 3.938 kB / 1.167 GB, free: 3.949 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.5456, allocations: 0.7879 MB / 1.167 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/0.5461, allocations: 247.6 kB / 1.168 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.5462, allocations: 4 kB / 1.168 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/0.5469, allocations: 51.94 kB / 1.168 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.755e-05/0.547, allocations: 31.84 kB / 1.168 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/0.5471, allocations: 27.97 kB / 1.168 GB, free: 2.742 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009417/0.548, allocations: 0.6541 MB / 1.168 GB, free: 2.082 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.4e-07/0.548, allocations: 4 kB / 1.168 GB, free: 2.078 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001281/0.5493, allocations: 375.1 kB / 1.169 GB, free: 1.711 MB / 0.92 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.001068/0.5504, allocations: 412.3 kB / 1.169 GB, free: 1.305 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.5523, allocations: 0.5789 MB / 1.17 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.5523, allocations: 0 / 1.17 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008777/0.5532, allocations: 305.2 kB / 1.17 GB, free: 440 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/0.5559, allocations: 0.5194 MB / 1.171 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.5594, allocations: 1.844 MB / 1.172 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007528/0.5602, allocations: 1.107 MB / 1.173 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008956/0.5611, allocations: 196.1 kB / 1.174 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.5613, allocations: 63.44 kB / 1.174 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of SimCode: time 1.153e-06/0.5613, allocations: 4 kB / 1.174 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of Templates: time 0.03921/0.6005, allocations: 20.66 MB / 1.194 GB, free: 8.25 MB / 0.9512 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches