Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001306/0.001306, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.17 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.257/2.257, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001577, allocations: 59.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9428/0.9444, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.234/1.178, allocations: 187.9 MB / 1.272 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01562/1.194, allocations: 10.75 MB / 1.283 GB, free: 6.992 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/1.196, allocations: 39.75 kB / 1.283 GB, free: 6.953 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/1.197, allocations: 0.5049 MB / 1.283 GB, free: 6.445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007127/1.205, allocations: 2.657 MB / 1.286 GB, free: 3.777 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006194/1.211, allocations: 2.453 MB / 1.288 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004001/1.215, allocations: 2.779 MB / 1.291 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/1.216, allocations: 0.78 MB / 1.292 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/1.218, allocations: 1.02 MB / 1.293 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/1.22, allocations: 1.063 MB / 1.294 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002118/1.221, allocations: 100 kB / 1.294 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005975/1.226, allocations: 3.013 MB / 1.297 GB, free: 8.543 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006426/1.227, allocations: 442.8 kB / 1.297 GB, free: 8.109 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008527/1.228, allocations: 0.5794 MB / 1.298 GB, free: 7.527 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006225/1.234, allocations: 2.95 MB / 1.301 GB, free: 4.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.234, allocations: 0 / 1.301 GB, free: 4.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.186e-06/1.234, allocations: 0 / 1.301 GB, free: 4.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.179e-05/1.234, allocations: 7.938 kB / 1.301 GB, free: 4.562 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003724/1.238, allocations: 1.666 MB / 1.302 GB, free: 2.844 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.238, allocations: 16.02 kB / 1.302 GB, free: 2.828 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/1.24, allocations: 294.4 kB / 1.302 GB, free: 2.539 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/1.241, allocations: 0.8273 MB / 1.303 GB, free: 1.672 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/1.241, allocations: 49.3 kB / 1.303 GB, free: 1.621 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.242, allocations: 67.98 kB / 1.303 GB, free: 1.555 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/1.243, allocations: 0.996 MB / 1.304 GB, free: 0.543 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/1.243, allocations: 0 / 1.304 GB, free: 0.543 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.483e-05/1.243, allocations: 27.92 kB / 1.304 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/1.243, allocations: 77.94 kB / 1.304 GB, free: 452 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/1.245, allocations: 1.015 MB / 1.305 GB, free: 15.42 MB / 1.045 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.005708/1.251, allocations: 3.574 MB / 1.309 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/1.252, allocations: 0.6685 MB / 1.31 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/1.252, allocations: 380 kB / 1.31 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/1.253, allocations: 194.7 kB / 1.31 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/1.253, allocations: 39.12 kB / 1.31 GB, free: 10.29 MB / 1.045 GB Notification: Performance of pre-optimization done (n=62): time 2.415e-06/1.253, allocations: 0 / 1.31 GB, free: 10.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=62): time 0.001982/1.255, allocations: 1.033 MB / 1.311 GB, free: 9.254 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.255, allocations: 111.4 kB / 1.311 GB, free: 9.121 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/1.256, allocations: 0.8019 MB / 1.312 GB, free: 8.312 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/1.256, allocations: 37.7 kB / 1.312 GB, free: 8.27 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/1.257, allocations: 420.1 kB / 1.313 GB, free: 7.852 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/1.257, allocations: 224.9 kB / 1.313 GB, free: 7.629 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/1.257, allocations: 146.6 kB / 1.313 GB, free: 7.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.257, allocations: 334 kB / 1.313 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006154/1.258, allocations: 340.7 kB / 1.313 GB, free: 6.812 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006709/1.259, allocations: 472.6 kB / 1.314 GB, free: 6.309 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.26, allocations: 0.7704 MB / 1.315 GB, free: 5.508 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.26, allocations: 0 / 1.315 GB, free: 5.508 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001573/1.261, allocations: 0.9294 MB / 1.316 GB, free: 4.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.261, allocations: 10.5 kB / 1.316 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.261, allocations: 0 / 1.316 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/1.261, allocations: 8.281 kB / 1.316 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/1.262, allocations: 155.8 kB / 1.316 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/1.262, allocations: 11.98 kB / 1.316 GB, free: 4.391 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007616/1.263, allocations: 83.09 kB / 1.316 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.136e-05/1.263, allocations: 24 kB / 1.316 GB, free: 4.285 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008195/1.264, allocations: 0.537 MB / 1.316 GB, free: 3.746 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005956/1.264, allocations: 454.5 kB / 1.317 GB, free: 3.262 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00101/1.265, allocations: 0.7291 MB / 1.318 GB, free: 2.492 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/1.266, allocations: 0 / 1.318 GB, free: 2.492 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001394/1.267, allocations: 0.8904 MB / 1.318 GB, free: 1.594 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/1.267, allocations: 4 kB / 1.318 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.267, allocations: 4 kB / 1.318 GB, free: 1.586 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/1.267, allocations: 4 kB / 1.318 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/1.268, allocations: 147.8 kB / 1.319 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/1.268, allocations: 15.88 kB / 1.319 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006932/1.268, allocations: 67.55 kB / 1.319 GB, free: 1.355 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/1.268, allocations: 32.23 kB / 1.319 GB, free: 1.324 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002193/1.269, allocations: 223 kB / 1.319 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/1.269, allocations: 94.88 kB / 1.319 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/1.27, allocations: 0.8047 MB / 1.32 GB, free: 200 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.27, allocations: 4 kB / 1.32 GB, free: 196 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.27, allocations: 4 kB / 1.32 GB, free: 192 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/1.271, allocations: 0.74 MB / 1.321 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/1.274, allocations: 2.097 MB / 1.323 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.274, allocations: 7.938 kB / 1.323 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/1.275, allocations: 135.8 kB / 1.323 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.939e-05/1.275, allocations: 11.98 kB / 1.323 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/1.275, allocations: 19.98 kB / 1.323 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.275, allocations: 4.438 kB / 1.323 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.275, allocations: 7.938 kB / 1.323 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/1.277, allocations: 1.356 MB / 1.324 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/1.277, allocations: 255.8 kB / 1.324 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/1.277, allocations: 23.98 kB / 1.324 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/1.278, allocations: 23.98 kB / 1.324 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/1.278, allocations: 44.27 kB / 1.324 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/1.278, allocations: 24 kB / 1.324 GB, free: 11.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007306/1.279, allocations: 0.5576 MB / 1.325 GB, free: 10.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.279, allocations: 0 / 1.325 GB, free: 10.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00181/1.281, allocations: 0.7528 MB / 1.326 GB, free: 9.926 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001544/1.282, allocations: 0.5377 MB / 1.326 GB, free: 9.391 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002076/1.284, allocations: 1.182 MB / 1.327 GB, free: 8.211 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.284, allocations: 4 kB / 1.327 GB, free: 8.207 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005449/1.285, allocations: 367.5 kB / 1.328 GB, free: 7.848 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/1.287, allocations: 0.5339 MB / 1.328 GB, free: 7.324 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/1.291, allocations: 1.97 MB / 1.33 GB, free: 5.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/1.292, allocations: 1.073 MB / 1.331 GB, free: 4.168 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003291/1.292, allocations: 79.42 kB / 1.331 GB, free: 4.09 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/1.292, allocations: 0 / 1.331 GB, free: 4.09 MB / 1.061 GB Notification: Performance of Templates: time 0.02947/1.321, allocations: 18.58 MB / 1.349 GB, free: 1.629 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches