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 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.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.001694/0.001694, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002304/0.002304, allocations: 196.4 kB / 16.14 MB, free: 6.711 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 / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.72 kB / 0.9114 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3339, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.846/1.18, allocations: 186.2 MB / 1.249 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01669/1.197, allocations: 11.18 MB / 1.26 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/1.199, allocations: 45.38 kB / 1.26 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/1.2, allocations: 427.3 kB / 1.261 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00721/1.207, allocations: 2.422 MB / 1.263 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007749/1.215, allocations: 2.075 MB / 1.265 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006837/1.222, allocations: 3.995 MB / 1.269 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/1.224, allocations: 0.6592 MB / 1.27 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/1.227, allocations: 0.8455 MB / 1.271 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003138/1.23, allocations: 1.075 MB / 1.272 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002929/1.23, allocations: 51.8 kB / 1.272 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008516/1.239, allocations: 3.295 MB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001004/1.24, allocations: 393.9 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001256/1.241, allocations: 0.5374 MB / 1.276 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008886/1.25, allocations: 3.029 MB / 1.279 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/1.25, allocations: 0 / 1.279 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.813e-06/1.25, allocations: 0 / 1.279 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.348e-05/1.25, allocations: 0 / 1.279 GB, free: 5.008 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.005001/1.255, allocations: 1.669 MB / 1.28 GB, free: 20.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/1.255, allocations: 9.656 kB / 1.28 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/1.257, allocations: 294.4 kB / 1.281 GB, free: 20.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/1.259, allocations: 0.7806 MB / 1.281 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/1.259, allocations: 51.16 kB / 1.281 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/1.259, allocations: 67.91 kB / 1.281 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/1.261, allocations: 0.9958 MB / 1.282 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/1.261, allocations: 1.031 kB / 1.282 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.288e-05/1.261, allocations: 28.69 kB / 1.282 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/1.261, allocations: 81.48 kB / 1.283 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/1.263, allocations: 1.01 MB / 1.284 GB, free: 19.64 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.006336/1.269, allocations: 3.569 MB / 1.287 GB, free: 18.31 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/1.27, allocations: 0.6553 MB / 1.288 GB, free: 18.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006765/1.271, allocations: 380.4 kB / 1.288 GB, free: 18.28 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003297/1.271, allocations: 203.3 kB / 1.288 GB, free: 18.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/1.272, allocations: 40.72 kB / 1.288 GB, free: 18.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 2.194e-06/1.272, allocations: 1.344 kB / 1.288 GB, free: 18.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=62): time 0.002251/1.274, allocations: 1.022 MB / 1.289 GB, free: 17.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.965e-05/1.274, allocations: 112.8 kB / 1.289 GB, free: 17.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/1.275, allocations: 0.8021 MB / 1.29 GB, free: 17.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-05/1.275, allocations: 43.39 kB / 1.29 GB, free: 17.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/1.275, allocations: 422.1 kB / 1.291 GB, free: 17.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/1.276, allocations: 219.4 kB / 1.291 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002814/1.276, allocations: 144.5 kB / 1.291 GB, free: 17.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.276, allocations: 340.5 kB / 1.291 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/1.277, allocations: 341.4 kB / 1.292 GB, free: 17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/1.277, allocations: 463.4 kB / 1.292 GB, free: 16.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/1.279, allocations: 0.7678 MB / 1.293 GB, free: 16.81 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.279, allocations: 0 / 1.293 GB, free: 16.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001757/1.28, allocations: 0.9302 MB / 1.294 GB, free: 16.72 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/1.28, allocations: 5.469 kB / 1.294 GB, free: 16.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.28, allocations: 3.203 kB / 1.294 GB, free: 16.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/1.28, allocations: 6.031 kB / 1.294 GB, free: 16.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007281/1.281, allocations: 153.9 kB / 1.294 GB, free: 16.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/1.281, allocations: 8.781 kB / 1.294 GB, free: 16.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.282, allocations: 108.6 kB / 1.294 GB, free: 16.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.39e-05/1.282, allocations: 31.56 kB / 1.294 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009346/1.283, allocations: 0.537 MB / 1.295 GB, free: 16.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006209/1.284, allocations: 449.4 kB / 1.295 GB, free: 16.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001112/1.285, allocations: 0.7346 MB / 1.296 GB, free: 16.36 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.459e-06/1.285, allocations: 5.031 kB / 1.296 GB, free: 16.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001446/1.286, allocations: 0.8876 MB / 1.297 GB, free: 16.26 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.286, allocations: 8.047 kB / 1.297 GB, free: 16.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/1.287, allocations: 2.531 kB / 1.297 GB, free: 16.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/1.287, allocations: 8.703 kB / 1.297 GB, free: 16.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/1.287, allocations: 147.1 kB / 1.297 GB, free: 16.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.287, allocations: 10.47 kB / 1.297 GB, free: 16.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009466/1.288, allocations: 91.03 kB / 1.297 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.781e-05/1.288, allocations: 27.12 kB / 1.297 GB, free: 16.23 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.0002702/1.288, allocations: 224.6 kB / 1.297 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/1.289, allocations: 91.91 kB / 1.297 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/1.29, allocations: 0.8068 MB / 1.298 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/1.29, allocations: 8.266 kB / 1.298 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.29, allocations: 0 / 1.298 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/1.291, allocations: 0.7475 MB / 1.299 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/1.295, allocations: 2.091 MB / 1.301 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/1.295, allocations: 4.188 kB / 1.301 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/1.295, allocations: 135 kB / 1.301 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/1.295, allocations: 5.781 kB / 1.301 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/1.296, allocations: 27.67 kB / 1.301 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.136e-06/1.296, allocations: 8.031 kB / 1.301 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.296, allocations: 3.875 kB / 1.301 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/1.297, allocations: 1.367 MB / 1.302 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/1.298, allocations: 250.5 kB / 1.302 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/1.298, allocations: 18.56 kB / 1.302 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006476/1.299, allocations: 48.67 kB / 1.303 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/1.299, allocations: 49.31 kB / 1.303 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/1.299, allocations: 25.94 kB / 1.303 GB, free: 14.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008082/1.3, allocations: 0.5595 MB / 1.303 GB, free: 14.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.3, allocations: 0 / 1.303 GB, free: 14.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002424/1.302, allocations: 0.7446 MB / 1.304 GB, free: 14.61 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.001491/1.304, allocations: 0.5424 MB / 1.304 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002045/1.306, allocations: 1.177 MB / 1.306 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.306, allocations: 0 / 1.306 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006147/1.306, allocations: 371.3 kB / 1.306 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/1.309, allocations: 0.5135 MB / 1.306 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/1.312, allocations: 2.237 MB / 1.309 GB, free: 13.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006001/1.312, allocations: 1.073 MB / 1.31 GB, free: 12.51 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001361/1.314, allocations: 424.6 kB / 1.31 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/1.314, allocations: 76.09 kB / 1.31 GB, free: 12.44 MB / 1.014 GB Notification: Performance of SimCode: time 1.563e-06/1.314, allocations: 0 / 1.31 GB, free: 12.44 MB / 1.014 GB Notification: Performance of Templates: time 0.03622/1.35, allocations: 22.07 MB / 1.332 GB, free: 6.305 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