Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.0008368/0.0008369, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006857/0.006857, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 462.7 MB / 0.7364 GB, free: 224 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 8.812 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3517, allocations: 159.6 MB / 1.059 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2052/0.5569, allocations: 183.7 MB / 1.238 GB, free: 13 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01671/0.5737, allocations: 11.03 MB / 1.249 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001768/0.5755, allocations: 39.69 kB / 1.249 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.5771, allocations: 433.7 kB / 1.249 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7482/1.325, allocations: 2.412 MB / 1.252 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006179/1.332, allocations: 2.076 MB / 1.254 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006045/1.338, allocations: 3.991 MB / 1.258 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/1.339, allocations: 0.6508 MB / 1.258 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/1.341, allocations: 0.8336 MB / 1.259 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/1.343, allocations: 1.059 MB / 1.26 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/1.343, allocations: 43.88 kB / 1.26 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007295/1.35, allocations: 3.289 MB / 1.263 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006997/1.351, allocations: 382.3 kB / 1.264 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008901/1.352, allocations: 0.5484 MB / 1.264 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00849/1.36, allocations: 2.996 MB / 1.267 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.36, allocations: 0 / 1.267 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.495e-06/1.36, allocations: 2.594 kB / 1.267 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.323e-05/1.36, allocations: 0 / 1.267 GB, free: 3.965 MB / 0.9981 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.005381/1.366, allocations: 1.48 MB / 1.269 GB, free: 19.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/1.366, allocations: 9.125 kB / 1.269 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/1.368, allocations: 292.1 kB / 1.269 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/1.369, allocations: 0.7757 MB / 1.27 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/1.37, allocations: 53.55 kB / 1.27 GB, free: 18.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/1.37, allocations: 72 kB / 1.27 GB, free: 18.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/1.372, allocations: 0.9964 MB / 1.271 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/1.372, allocations: 0 / 1.271 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.045e-05/1.372, allocations: 28.34 kB / 1.271 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/1.372, allocations: 74.83 kB / 1.271 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/1.374, allocations: 1.011 MB / 1.272 GB, free: 18.63 MB / 1.014 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.006681/1.381, allocations: 3.594 MB / 1.275 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/1.382, allocations: 0.6507 MB / 1.276 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006271/1.383, allocations: 385.7 kB / 1.276 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/1.383, allocations: 192.7 kB / 1.277 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/1.383, allocations: 45.53 kB / 1.277 GB, free: 17.03 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 3.126e-06/1.383, allocations: 0 / 1.277 GB, free: 17.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=62): time 0.002011/1.385, allocations: 1.027 MB / 1.278 GB, free: 16.94 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/1.385, allocations: 113.8 kB / 1.278 GB, free: 16.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/1.387, allocations: 0.8013 MB / 1.278 GB, free: 16.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.417e-05/1.387, allocations: 36.67 kB / 1.279 GB, free: 16.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/1.387, allocations: 423.2 kB / 1.279 GB, free: 16.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/1.387, allocations: 225.5 kB / 1.279 GB, free: 16.33 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.913e-05/1.387, allocations: 61.53 kB / 1.279 GB, free: 16.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.387, allocations: 332.9 kB / 1.279 GB, free: 16.01 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/1.388, allocations: 338.7 kB / 1.28 GB, free: 16.01 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/1.389, allocations: 461.9 kB / 1.28 GB, free: 15.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/1.39, allocations: 0.7673 MB / 1.281 GB, free: 15.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.39, allocations: 4 kB / 1.281 GB, free: 15.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001555/1.391, allocations: 0.9322 MB / 1.282 GB, free: 15.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.392, allocations: 152.2 kB / 1.282 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.392, allocations: 2.5 kB / 1.282 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/1.392, allocations: 8.781 kB / 1.282 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/1.392, allocations: 154 kB / 1.282 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/1.392, allocations: 11.91 kB / 1.282 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/1.393, allocations: 116.6 kB / 1.282 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/1.394, allocations: 24.59 kB / 1.282 GB, free: 15.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/1.394, allocations: 4.656 kB / 1.282 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001296/1.395, allocations: 0.7711 MB / 1.283 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/1.395, allocations: 5.031 kB / 1.283 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/1.395, allocations: 10.72 kB / 1.283 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/1.396, allocations: 150.1 kB / 1.283 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.396, allocations: 5.406 kB / 1.283 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008385/1.396, allocations: 100.1 kB / 1.283 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/1.396, allocations: 31.39 kB / 1.283 GB, free: 15.45 MB / 1.014 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.0006134/1.397, allocations: 366.3 kB / 1.284 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/1.397, allocations: 88.59 kB / 1.284 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/1.399, allocations: 0.8192 MB / 1.285 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.399, allocations: 9.5 kB / 1.285 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.399, allocations: 1.406 kB / 1.285 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/1.4, allocations: 0.7468 MB / 1.285 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/1.403, allocations: 2.082 MB / 1.287 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-06/1.403, allocations: 7.406 kB / 1.287 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006478/1.404, allocations: 128.2 kB / 1.288 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/1.404, allocations: 10.06 kB / 1.288 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/1.404, allocations: 19.88 kB / 1.288 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.697e-05/1.404, allocations: 17.62 kB / 1.288 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.404, allocations: 4.125 kB / 1.288 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/1.406, allocations: 1.356 MB / 1.289 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005273/1.406, allocations: 260.1 kB / 1.289 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/1.406, allocations: 17.66 kB / 1.289 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006838/1.407, allocations: 53.53 kB / 1.289 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/1.407, allocations: 43.91 kB / 1.289 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/1.407, allocations: 26.48 kB / 1.289 GB, free: 14.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008746/1.408, allocations: 0.5569 MB / 1.29 GB, free: 13.96 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.408, allocations: 0 / 1.29 GB, free: 13.96 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0034/1.412, allocations: 0.7538 MB / 1.291 GB, free: 13.84 MB / 1.014 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.002057/1.414, allocations: 0.5461 MB / 1.291 GB, free: 13.65 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002388/1.416, allocations: 1.172 MB / 1.292 GB, free: 13.63 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/1.416, allocations: 2.25 kB / 1.292 GB, free: 13.63 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006247/1.417, allocations: 372 kB / 1.293 GB, free: 13.63 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/1.42, allocations: 0.5069 MB / 1.293 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/1.423, allocations: 2.34 MB / 1.295 GB, free: 12.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007034/1.424, allocations: 1.08 MB / 1.296 GB, free: 11.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00158/1.425, allocations: 410.2 kB / 1.297 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/1.426, allocations: 77.75 kB / 1.297 GB, free: 11.62 MB / 1.014 GB Notification: Performance of SimCode: time 9.42e-07/1.426, allocations: 0 / 1.297 GB, free: 11.62 MB / 1.014 GB Notification: Performance of Templates: time 0.03807/1.464, allocations: 21.94 MB / 1.318 GB, free: 6.602 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches