Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001724/0.001724, allocations: 102.6 kB / 15.98 MB, free: 6.344 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.001942/0.001941, allocations: 199.5 kB / 16.91 MB, free: 6.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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.661/2.661, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.91 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3425, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.5642/0.9068, allocations: 49.36 MB / 1.112 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02274/0.9296, allocations: 12.59 MB / 1.125 GB, free: 204 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004398/0.934, allocations: 70.56 kB / 1.125 GB, free: 176 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003138/0.9373, allocations: 0.649 MB / 1.125 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006759/0.9441, allocations: 1.722 MB / 1.127 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004347/0.9485, allocations: 1.218 MB / 1.128 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006125/0.9546, allocations: 3.282 MB / 1.131 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002207/0.9568, allocations: 1.231 MB / 1.133 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004206/0.9611, allocations: 1.312 MB / 1.134 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.963, allocations: 0.9643 MB / 1.135 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.9632, allocations: 99.94 kB / 1.135 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.9662, allocations: 1.073 MB / 1.136 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004333/0.9666, allocations: 293.7 kB / 1.136 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.9678, allocations: 0.6753 MB / 1.137 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.9705, allocations: 1.473 MB / 1.138 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9705, allocations: 4 kB / 1.138 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9705, allocations: 1.188 kB / 1.138 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.443e-05/0.9705, allocations: 0 / 1.138 GB, free: 9.527 MB / 0.8731 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.003113/0.9736, allocations: 1.7 MB / 1.14 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.9737, allocations: 9.344 kB / 1.14 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006836/0.9744, allocations: 211.4 kB / 1.14 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.9765, allocations: 1.076 MB / 1.141 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.9769, allocations: 119.8 kB / 1.141 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.977, allocations: 87.12 kB / 1.141 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.9791, allocations: 0.9894 MB / 1.142 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.9791, allocations: 5.062 kB / 1.142 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.624e-05/0.9792, allocations: 38.3 kB / 1.142 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.9792, allocations: 21.44 kB / 1.142 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.9809, allocations: 0.6544 MB / 1.143 GB, free: 6.848 MB / 0.8731 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.006/0.9869, allocations: 4.415 MB / 1.147 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.9882, allocations: 411.1 kB / 1.148 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/0.9887, allocations: 217.2 kB / 1.148 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.9899, allocations: 1.152 MB / 1.149 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.99, allocations: 37.34 kB / 1.149 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=29): time 2.605e-06/0.99, allocations: 0 / 1.149 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.003201/0.9932, allocations: 1.091 MB / 1.15 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.9932, allocations: 61.66 kB / 1.15 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.9947, allocations: 0.9333 MB / 1.151 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-05/0.9948, allocations: 32.48 kB / 1.151 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005205/0.9953, allocations: 0.5864 MB / 1.152 GB, free: 408 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.9954, allocations: 106.3 kB / 1.152 GB, free: 324 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.9956, allocations: 101.3 kB / 1.152 GB, free: 272 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.9958, allocations: 324.3 kB / 1.152 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.9964, allocations: 198.9 kB / 1.153 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007466/0.9971, allocations: 387.2 kB / 1.153 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.9985, allocations: 0.5734 MB / 1.153 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.9985, allocations: 5.469 kB / 1.153 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00181/1, allocations: 0.7369 MB / 1.154 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1, allocations: 6.531 kB / 1.154 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1, allocations: 5.875 kB / 1.154 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007145/1.001, allocations: 159.1 kB / 1.154 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/1.002, allocations: 150 kB / 1.155 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/1.003, allocations: 1.715 MB / 1.156 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009555/1.004, allocations: 108.9 kB / 1.156 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.055e-05/1.004, allocations: 29.3 kB / 1.156 GB, free: 13.21 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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.0005328/1.005, allocations: 263.6 kB / 1.157 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/1.005, allocations: 105.4 kB / 1.157 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/1.007, allocations: 0.7342 MB / 1.157 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/1.007, allocations: 10.86 kB / 1.157 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.007, allocations: 3.938 kB / 1.157 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.007, allocations: 0 / 1.157 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/1.01, allocations: 1.649 MB / 1.159 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.01, allocations: 1.125 kB / 1.159 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000526/1.011, allocations: 95.42 kB / 1.159 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005769/1.011, allocations: 148 kB / 1.159 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/1.011, allocations: 13.05 kB / 1.159 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/1.013, allocations: 1.707 MB / 1.161 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.013, allocations: 2.906 kB / 1.161 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/1.015, allocations: 0.7854 MB / 1.162 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007166/1.015, allocations: 245.8 kB / 1.162 GB, free: 9.445 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.015, allocations: 6.656 kB / 1.162 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007319/1.016, allocations: 76.36 kB / 1.162 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.016, allocations: 40.44 kB / 1.162 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/1.016, allocations: 18.3 kB / 1.162 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001118/1.018, allocations: 0.6374 MB / 1.163 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.5e-07/1.018, allocations: 0 / 1.163 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001404/1.019, allocations: 357.5 kB / 1.163 GB, free: 8.918 MB / 0.8887 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.0009692/1.02, allocations: 389.8 kB / 1.163 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001855/1.022, allocations: 0.5635 MB / 1.164 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.022, allocations: 4.969 kB / 1.164 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008963/1.023, allocations: 301.3 kB / 1.164 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.025, allocations: 0.5248 MB / 1.165 GB, free: 8.031 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/1.029, allocations: 2.286 MB / 1.167 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.03, allocations: 1.095 MB / 1.168 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/1.031, allocations: 73.58 kB / 1.168 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of SimCode: time 1.183e-06/1.031, allocations: 0 / 1.168 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of Templates: time 0.05585/1.087, allocations: 31.65 MB / 1.199 GB, free: 14.18 MB / 0.92 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches